SEScalarElectricPotential.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "properties/SEScalar.h"
6 
7 class CDM_DECL ElectricPotentialUnit : public CCompoundUnit
8 {
9 public:
10  ElectricPotentialUnit(const std::string& u) : CCompoundUnit(u) {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const ElectricPotentialUnit& GetCompoundUnit(const std::string& unit);
15 
16  static const ElectricPotentialUnit V;
17  static const ElectricPotentialUnit mV;
18 };
19 
20 class CDM_DECL SEScalarElectricPotential : public SEScalarQuantity<ElectricPotentialUnit>
21 {
22 public:
25 };
Definition: SEScalar.h:127
SEScalarElectricPotential()
Definition: SEScalarElectricPotential.h:23
Definition: SEScalarElectricPotential.h:7
static const ElectricPotentialUnit mV
Definition: SEScalarElectricPotential.h:17
ElectricPotentialUnit(const std::string &u)
Definition: SEScalarElectricPotential.h:10
Definition: SEScalarElectricPotential.h:20
virtual ~SEScalarElectricPotential()
Definition: SEScalarElectricPotential.h:24
static const ElectricPotentialUnit V
Definition: SEScalarElectricPotential.h:16
Definition: CompoundUnit.h:39
virtual ~ElectricPotentialUnit()
Definition: SEScalarElectricPotential.h:11