SEScalarVolume.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "properties/SEScalar.h"
6 
7 class CDM_DECL VolumeUnit : public CCompoundUnit
8 {
9 public:
10  VolumeUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~VolumeUnit() {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const VolumeUnit& GetCompoundUnit(const std::string& unit);
15 
16  static const VolumeUnit L;
17  static const VolumeUnit dL;
18  static const VolumeUnit mL;
19  static const VolumeUnit m3;
20  static const VolumeUnit uL;
21 };
22 
23 class CDM_DECL SEScalarVolume : public SEScalarQuantity<VolumeUnit>
24 {
25 public:
27  virtual ~SEScalarVolume() {}
28 };
static const VolumeUnit mL
Definition: SEScalarVolume.h:18
virtual ~SEScalarVolume()
Definition: SEScalarVolume.h:27
SEScalarVolume()
Definition: SEScalarVolume.h:26
Definition: SEScalarVolume.h:7
static const VolumeUnit dL
Definition: SEScalarVolume.h:17
Definition: SEScalarVolume.h:23
static const VolumeUnit m3
Definition: SEScalarVolume.h:19
static const VolumeUnit L
Definition: SEScalarVolume.h:16
Definition: SEScalar.h:127
virtual ~VolumeUnit()
Definition: SEScalarVolume.h:11
VolumeUnit(const std::string &u)
Definition: SEScalarVolume.h:10
static const VolumeUnit uL
Definition: SEScalarVolume.h:20
Definition: CompoundUnit.h:39