OTX-Runtime for C++  
OpenTestSystem::Otx::Runtime::Api::DataTypes::String Class Reference

Represents OTX String DataType. More...

#include <PrimitiveDataType.h>

Inheritance diagram for OpenTestSystem::Otx::Runtime::Api::DataTypes::String:
Inheritance graph

Public Member Functions

 String (std::string value)
 Initializes a new instance of the String class. More...
 
std::string GetPrimitive ()
 Gets primitive value. More...
 
std::string ToLiteralString () const
 Gets literal string. More...
 

Detailed Description

Represents OTX String DataType.

Constructor & Destructor Documentation

◆ String()

OpenTestSystem::Otx::Runtime::Api::DataTypes::String::String ( std::string  value)

Initializes a new instance of the String class.

Parameters
valuePrimitive value

Member Function Documentation

◆ GetPrimitive()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::String::GetPrimitive ( )

Gets primitive value.

Returns
Primitive value.

◆ ToLiteralString()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::String::ToLiteralString ( ) const
virtual

Gets literal string.

Returns
Literal string.

Reimplemented from OpenTestSystem::Otx::Runtime::Api::DataTypes::Object.


The documentation for this class was generated from the following file: