OTX-Runtime for C++
|
|
Represents OTX ByteField DataType. More...
#include <ByteField.h>
Public Member Functions | |
ByteField (std::string hexString) | |
Initializes a new instance of the ByteField class. More... | |
void | FromBytes (const char *byteValue, int length) |
Parses a byte array to ByteField. More... | |
std::string | GetBytes () const |
Gets value as byte array. More... | |
std::string | GetHexString () const |
Gets hexadecimal string. More... | |
std::string | ToLiteralString () const |
Gets literal string. More... | |
Represents OTX ByteField DataType.
OpenTestSystem::Otx::Runtime::Api::DataTypes::ByteField::ByteField | ( | std::string | hexString | ) |
void OpenTestSystem::Otx::Runtime::Api::DataTypes::ByteField::FromBytes | ( | const char * | byteValue, |
int | length | ||
) |
Parses a byte array to ByteField.
byteValue | Byte array. |
length | Length of Byte array. |
std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::ByteField::GetBytes | ( | ) | const |
Gets value as byte array.
std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::ByteField::GetHexString | ( | ) | const |
Gets hexadecimal string.
|
virtual |
Gets literal string.
Reimplemented from OpenTestSystem::Otx::Runtime::Api::DataTypes::Object.