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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.