SEScalarElectricCurrent.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 ElectricCurrentUnit : public CCompoundUnit
8{
9public:
10 ElectricCurrentUnit(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 ElectricCurrentUnit& GetCompoundUnit(const std::string& unit);
19
20 static const ElectricCurrentUnit A;
21};
22
23class CDM_DECL SEScalarElectricCurrent : public SEScalarQuantity<ElectricCurrentUnit>
24{
25public:
28};
Definition: CompoundUnit.h:40
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
Definition: SEScalarElectricCurrent.h:8
static const ElectricCurrentUnit A
Definition: SEScalarElectricCurrent.h:20
virtual ~ElectricCurrentUnit()
Definition: SEScalarElectricCurrent.h:11
ElectricCurrentUnit(const std::string &u)
Definition: SEScalarElectricCurrent.h:10
ElectricCurrentUnit(const ElectricCurrentUnit &)=delete
Definition: SEScalarElectricCurrent.h:24
SEScalarElectricCurrent()
Definition: SEScalarElectricCurrent.h:26
virtual ~SEScalarElectricCurrent()
Definition: SEScalarElectricCurrent.h:27
Definition: SEScalar.h:208

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.