OTX-Runtime for C++  
Object.h
1 #ifndef OpenTestSystem_Otx_Runtime_Api_DataTypes_Object_H
2 #define OpenTestSystem_Otx_Runtime_Api_DataTypes_Object_H
3 
4 #include "ApiDefs.h"
5 
6 #include <string>
7 
8 #ifdef _MSC_VER
9 #pragma warning (disable : 4251) //disable warning when export DLL
10 #endif
11 
12 namespace OpenTestSystem { namespace Otx { namespace Runtime { namespace Api { namespace DataTypes {
16  class Object
17  {
18  protected:
19  API_EXPORTS Object();
20  public:
21  Object(std::string literalString, std::string dataType);
22 
23  virtual ~Object()
24  {
25  }
26 
31  API_EXPORTS virtual std::string ToLiteralString() const;
32  private:
33  std::string _literalString;
34  std::string _dataType;
35  };
36 
37 }}}}}
38 #endif //OpenTestSystem_Otx_Runtime_Api_DataTypes_Object_H
OpenTestSystem::Otx::Runtime::Api::DataTypes::Object::ToLiteralString
virtual API_EXPORTS std::string ToLiteralString() const
Gets literal string.
OpenTestSystem
Namespace containing all objects related to testing inside automotive industry
OpenTestSystem::Otx::Runtime::Api::DataTypes::Object
Represents base of OTX DataTypes.
Definition: Object.h:17