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

Represents OTX BlackBox DataType. More...

#include <BlackBox.h>

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

Public Member Functions

 BlackBox (long long hash, const std::string &literalString="")
 Initializes a new instance of the BlackBox class. More...
 
long long GetHash () const
 Gets hash code of actual object More...
 
std::string GetLiteralString () const
 Gets literal string. More...
 
void SetLiteralString (const std::string &literalString)
 Sets literal string More...
 
std::string ToLiteralString () const override
 Gets literal string. More...
 

Detailed Description

Represents OTX BlackBox DataType.

Constructor & Destructor Documentation

◆ BlackBox()

OpenTestSystem::Otx::Runtime::Api::DataTypes::BlackBox::BlackBox ( long long  hash,
const std::string &  literalString = "" 
)

Initializes a new instance of the BlackBox class.

Parameters
hashThe hash code of actual object
literalStringLiteral string

Member Function Documentation

◆ GetHash()

long long OpenTestSystem::Otx::Runtime::Api::DataTypes::BlackBox::GetHash ( ) const
inline

Gets hash code of actual object

Returns
Hash code

◆ GetLiteralString()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::BlackBox::GetLiteralString ( ) const
inline

Gets literal string.

Returns
Literal string

◆ SetLiteralString()

void OpenTestSystem::Otx::Runtime::Api::DataTypes::BlackBox::SetLiteralString ( const std::string &  literalString)
inline

Sets literal string

Parameters
literalStringLiteral string

◆ ToLiteralString()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::BlackBox::ToLiteralString ( ) const
overridevirtual

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: