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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.