SEScalarMassPerTime.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/properties/SEScalar.h"
6
7class CDM_DECL MassPerTimeUnit : public CCompoundUnit
8{
9public:
10 MassPerTimeUnit(const std::string& u) : CCompoundUnit(u) {}
11 virtual ~MassPerTimeUnit() {}
12
13 // Please use static units below
16
17 static bool IsValidUnit(const std::string& unit);
18 static const MassPerTimeUnit& GetCompoundUnit(const std::string& unit);
19
28};
29
30class CDM_DECL SEScalarMassPerTime : public SEScalarQuantity<MassPerTimeUnit>
31{
32public:
35};
Definition: CompoundUnit.h:40
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
Definition: SEScalarMassPerTime.h:8
static const MassPerTimeUnit g_Per_min
Definition: SEScalarMassPerTime.h:21
static const MassPerTimeUnit mg_Per_min
Definition: SEScalarMassPerTime.h:24
static const MassPerTimeUnit kg_Per_s
Definition: SEScalarMassPerTime.h:27
static const MassPerTimeUnit ug_Per_s
Definition: SEScalarMassPerTime.h:26
MassPerTimeUnit(const MassPerTimeUnit &)=delete
MassPerTimeUnit(const std::string &u)
Definition: SEScalarMassPerTime.h:10
static const MassPerTimeUnit g_Per_day
Definition: SEScalarMassPerTime.h:22
static const MassPerTimeUnit mg_Per_s
Definition: SEScalarMassPerTime.h:23
virtual ~MassPerTimeUnit()
Definition: SEScalarMassPerTime.h:11
static const MassPerTimeUnit ug_Per_min
Definition: SEScalarMassPerTime.h:25
static const MassPerTimeUnit g_Per_s
Definition: SEScalarMassPerTime.h:20
Definition: SEScalarMassPerTime.h:31
SEScalarMassPerTime()
Definition: SEScalarMassPerTime.h:33
virtual ~SEScalarMassPerTime()
Definition: SEScalarMassPerTime.h:34
Definition: SEScalar.h:208

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.