OTX-Runtime for C++
|
|
Represents OTX Enumeration DataType. More...
#include <EnumerationElement.h>
Public Member Functions | |
EnumerationElement (const std::string &signature, const std::string &elementName, const long &value, const std::string &specification) | |
Initializes a new instance of the EnumerationElement class. More... | |
EnumerationElement (const std::string &signature, const std::string &elementName, const long &value, const std::string &specification, std::shared_ptr< OpenTestSystem::Otx::Runtime::Api::DataTypes::TranslationKey > translationKey) | |
Initializes a new instance of the EnumerationElement class. More... | |
std::string | GetElementName () const |
Gets element name. More... | |
std::shared_ptr< Otx::Signature::IEnumerationSignature > | GetEnumeration () const |
Gets Enumeration More... | |
std::string | GetSignature () const |
Gets Full name of enumeration signature. More... | |
std::string | GetSpecification () const |
Gets enumeration signature specification More... | |
std::shared_ptr< OpenTestSystem::Otx::Runtime::Api::DataTypes::TranslationKey > | GetTranslationKey () |
The TranslationKey will be returned. More... | |
long | GetValue () const |
Gets element value. More... | |
std::string | ToLiteralString () const |
Gets literal string. More... | |
Represents OTX Enumeration DataType.
OpenTestSystem::Otx::Runtime::Api::DataTypes::EnumerationElement::EnumerationElement | ( | const std::string & | signature, |
const std::string & | elementName, | ||
const long & | value, | ||
const std::string & | specification | ||
) |
Initializes a new instance of the EnumerationElement class.
signature | Full name of enumeration signature. |
elementName | Element name. |
value | Element value. |
specification | Enumeration signature specification. |
OpenTestSystem::Otx::Runtime::Api::DataTypes::EnumerationElement::EnumerationElement | ( | const std::string & | signature, |
const std::string & | elementName, | ||
const long & | value, | ||
const std::string & | specification, | ||
std::shared_ptr< OpenTestSystem::Otx::Runtime::Api::DataTypes::TranslationKey > | translationKey | ||
) |
Initializes a new instance of the EnumerationElement class.
signature | Full name of enumeration signature. |
elementName | Element name. |
value | Element value. |
specification | Enumeration signature specification. |
textId | The Text-Id of the TranslationKey. |
std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::EnumerationElement::GetElementName | ( | ) | const |
Gets element name.
std::shared_ptr<Otx::Signature::IEnumerationSignature> OpenTestSystem::Otx::Runtime::Api::DataTypes::EnumerationElement::GetEnumeration | ( | ) | const |
Gets Enumeration
std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::EnumerationElement::GetSignature | ( | ) | const |
Gets Full name of enumeration signature.
std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::EnumerationElement::GetSpecification | ( | ) | const |
Gets enumeration signature specification
std::shared_ptr<OpenTestSystem::Otx::Runtime::Api::DataTypes::TranslationKey> OpenTestSystem::Otx::Runtime::Api::DataTypes::EnumerationElement::GetTranslationKey | ( | ) |
The TranslationKey will be returned.
long OpenTestSystem::Otx::Runtime::Api::DataTypes::EnumerationElement::GetValue | ( | ) | const |
Gets element value.
|
virtual |
Gets literal string.
Reimplemented from OpenTestSystem::Otx::Runtime::Api::DataTypes::Object.