SEScalarArea.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 AreaUnit : public CCompoundUnit
8 {
9 public:
10  AreaUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~AreaUnit() {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const AreaUnit& GetCompoundUnit(const std::string& unit);
15 
16  static const AreaUnit cm2;
17  static const AreaUnit m2;
18 };
19 
20 class CDM_DECL SEScalarArea : public SEScalarQuantity<AreaUnit>
21 {
22 public:
24  virtual ~SEScalarArea() {}
25 };
Definition: SEScalarArea.h:20
SEScalarArea()
Definition: SEScalarArea.h:23
virtual ~AreaUnit()
Definition: SEScalarArea.h:11
static const AreaUnit m2
Definition: SEScalarArea.h:17
Definition: SEScalar.h:127
AreaUnit(const std::string &u)
Definition: SEScalarArea.h:10
virtual ~SEScalarArea()
Definition: SEScalarArea.h:24
Definition: SEScalarArea.h:7
static const AreaUnit cm2
Definition: SEScalarArea.h:16
Definition: CompoundUnit.h:39