<
    Kitware and KbPort announce the launch of SimPulse
×
SEScalarElectricCharge.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 ElectricChargeUnit : public CCompoundUnit
8 {
9 public:
10  ElectricChargeUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~ElectricChargeUnit() {}
12 
13  // Please use static units below
14  ElectricChargeUnit(const ElectricChargeUnit&) = delete;
16 
17  static bool IsValidUnit(const std::string& unit);
18  static const ElectricChargeUnit& GetCompoundUnit(const std::string& unit);
19 
20  static const ElectricChargeUnit C;
21 };
22 
23 class CDM_DECL SEScalarElectricCharge : public SEScalarQuantity<ElectricChargeUnit>
24 {
25 public:
28 };
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
Definition: SEScalarElectricCharge.h:7
Definition: SEScalar.h:207
virtual ~SEScalarElectricCharge()
Definition: SEScalarElectricCharge.h:27
virtual ~ElectricChargeUnit()
Definition: SEScalarElectricCharge.h:11
SEScalarElectricCharge()
Definition: SEScalarElectricCharge.h:26
Definition: SEScalarElectricCharge.h:23
ElectricChargeUnit(const std::string &u)
Definition: SEScalarElectricCharge.h:10
static const ElectricChargeUnit C
Definition: SEScalarElectricCharge.h:20
Definition: CompoundUnit.h:39

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.