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

Represents OTX TranslationKey DataType. More...

#include <TranslationKey.h>

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

Public Member Functions

 TranslationKey (const std::string &textId)
 Initializes a new instance of the TranslationKey class. More...
 
 TranslationKey (const std::string &textId, const std::string &textIdMappingName)
 Initializes a new instance of the TranslationKey class. More...
 
std::string GetTextId () const
 Gets TextId. More...
 
std::string GetTextIdMappingName () const
 Gets TextIdMappingName. More...
 
void SetTextId (const std::string &textId)
 Sets TextId. More...
 
std::string ToLiteralString () const
 Gets literal string. More...
 

Detailed Description

Represents OTX TranslationKey DataType.

Constructor & Destructor Documentation

◆ TranslationKey() [1/2]

OpenTestSystem::Otx::Runtime::Api::DataTypes::TranslationKey::TranslationKey ( const std::string &  textId)

Initializes a new instance of the TranslationKey class.

Parameters
textIdValue of TextId.

◆ TranslationKey() [2/2]

OpenTestSystem::Otx::Runtime::Api::DataTypes::TranslationKey::TranslationKey ( const std::string &  textId,
const std::string &  textIdMappingName 
)

Initializes a new instance of the TranslationKey class.

Parameters
textIdValue of TextId.
textIdMappingNameValue of TextIdMappingName.

Member Function Documentation

◆ GetTextId()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::TranslationKey::GetTextId ( ) const

Gets TextId.

Returns
Value of TextId.

◆ GetTextIdMappingName()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::TranslationKey::GetTextIdMappingName ( ) const

Gets TextIdMappingName.

Returns
Value of TextIdMappingName.

◆ SetTextId()

void OpenTestSystem::Otx::Runtime::Api::DataTypes::TranslationKey::SetTextId ( const std::string &  textId)

Sets TextId.

Parameters
textIdValue of TextId.

◆ ToLiteralString()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::TranslationKey::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: