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

Represents OTX StructureElement DataType. More...

#include <StructureElement.h>

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

Public Member Functions

 StructureElement (const std::string &name, std::shared_ptr< Object > value, const std::string &type)
 Initializes a new instance of the StructureElement class. More...
 
std::string GetName () const
 Gets element name. More...
 
std::string GetType () const
 Gets element type. More...
 
std::shared_ptr< ObjectGetValue ()
 Gets element value. More...
 
- Public Member Functions inherited from OpenTestSystem::Otx::Runtime::Api::DataTypes::Object
virtual API_EXPORTS std::string ToLiteralString () const
 Gets literal string. More...
 

Detailed Description

Represents OTX StructureElement DataType.

Constructor & Destructor Documentation

◆ StructureElement()

OpenTestSystem::Otx::Runtime::Api::DataTypes::StructureElement::StructureElement ( const std::string &  name,
std::shared_ptr< Object value,
const std::string &  type 
)

Initializes a new instance of the StructureElement class.

Parameters
nameElement name.
valueElement value.
typeElement type.

Member Function Documentation

◆ GetName()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::StructureElement::GetName ( ) const

Gets element name.

Returns
Element name.

◆ GetType()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::StructureElement::GetType ( ) const

Gets element type.

Returns
Element type.

◆ GetValue()

std::shared_ptr<Object> OpenTestSystem::Otx::Runtime::Api::DataTypes::StructureElement::GetValue ( )

Gets element value.

Returns
Element value.

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