SEScalarElectricCharge.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 ElectricChargeUnit : public CCompoundUnit
8{
9public:
10 ElectricChargeUnit(const std::string& u) : CCompoundUnit(u) {}
12
13 // Please use static units below
16
17 static bool IsValidUnit(const std::string& unit);
18 static const ElectricChargeUnit& GetCompoundUnit(const std::string& unit);
19
20 static const ElectricChargeUnit C;
21};
22
23class CDM_DECL SEScalarElectricCharge : public SEScalarQuantity<ElectricChargeUnit>
24{
25public:
28};
Definition: CompoundUnit.h:40
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
Definition: SEScalarElectricCharge.h:8
virtual ~ElectricChargeUnit()
Definition: SEScalarElectricCharge.h:11
ElectricChargeUnit(const ElectricChargeUnit &)=delete
static const ElectricChargeUnit C
Definition: SEScalarElectricCharge.h:20
ElectricChargeUnit(const std::string &u)
Definition: SEScalarElectricCharge.h:10
Definition: SEScalarElectricCharge.h:24
virtual ~SEScalarElectricCharge()
Definition: SEScalarElectricCharge.h:27
SEScalarElectricCharge()
Definition: SEScalarElectricCharge.h:26
Definition: SEScalar.h:208

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.