<
    Kitware and KbPort announce the launch of SimPulse
×
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 
7 class CDM_DECL ElectricResistanceUnit : public CCompoundUnit
8 {
9 public:
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 
23 class CDM_DECL SEScalarElectricResistance : public SEScalarQuantity<ElectricResistanceUnit>
24 {
25 public:
28 };
virtual ~ElectricResistanceUnit()
Definition: SEScalarElectricResistance.h:11
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
ElectricResistanceUnit(const std::string &u)
Definition: SEScalarElectricResistance.h:10
Definition: SEScalarElectricResistance.h:7
Definition: SEScalar.h:207
virtual ~SEScalarElectricResistance()
Definition: SEScalarElectricResistance.h:27
static const ElectricResistanceUnit Ohm
Definition: SEScalarElectricResistance.h:20
Definition: SEScalarElectricResistance.h:23
SEScalarElectricResistance()
Definition: SEScalarElectricResistance.h:26
Definition: CompoundUnit.h:39

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.