1 #ifndef OpenTestSystem_Otx_Runtime_Api_DataTypes_Unit_H
2 #define OpenTestSystem_Otx_Runtime_Api_DataTypes_Unit_H
8 namespace OpenTestSystem {
namespace Otx {
namespace Runtime {
namespace Api {
namespace DataTypes {
12 namespace OpenTestSystem {
namespace Otx {
namespace Runtime {
namespace Api {
24 const std::string&
id,
25 const std::string& filePath,
26 const std::string& shortName,
27 const std::string& displayName,
30 std::shared_ptr<Dimension> dimension);
35 std::string GetId()
const;
36 std::string GetFilePath()
const;
37 std::string GetShortName()
const;
38 std::string GetDisplayName()
const;
39 double GetFactorSI2UNIT()
const;
40 double GetOffsetSI2UNIT()
const;
41 std::shared_ptr<Dimension> GetDimension()
const;
46 std::string _filePath;
47 std::string _shortName;
48 std::string _displayName;
49 double _factorSI2UNIT;
50 double _offsetSI2UNIT;
51 std::shared_ptr<Dimension> _dimension;
Represents base of OTX DataTypes.
Definition: Object.h:17
Represents a Unit.
Definition: Unit.h:21
std::string ToLiteralString() const override
Gets literal string.
Namespace containing all objects related to testing inside automotive industry