SEScalarForce.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 ForceUnit : public CCompoundUnit
8 {
9 public:
10  ForceUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~ForceUnit() {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const ForceUnit& GetCompoundUnit(const std::string& unit);
15 
16  static const ForceUnit N;
17  static const ForceUnit lbf;
18  static const ForceUnit dyn;
19 };
20 
21 class CDM_DECL SEScalarForce : public SEScalarQuantity<ForceUnit>
22 {
23 public:
25  virtual ~SEScalarForce() {}
26 };
static const ForceUnit N
Definition: SEScalarForce.h:16
static const ForceUnit dyn
Definition: SEScalarForce.h:18
Definition: SEScalar.h:127
ForceUnit(const std::string &u)
Definition: SEScalarForce.h:10
Definition: SEScalarForce.h:7
Definition: SEScalarForce.h:21
virtual ~ForceUnit()
Definition: SEScalarForce.h:11
virtual ~SEScalarForce()
Definition: SEScalarForce.h:25
static const ForceUnit lbf
Definition: SEScalarForce.h:17
SEScalarForce()
Definition: SEScalarForce.h:24
Definition: CompoundUnit.h:39