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

An Interval is an otx:ComplexType and represents the abstract base data type for all interval data types. More...

#include <Interval.h>

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

Public Member Functions

std::string GetLabel () const
 Gets the optional label of the interval. If the label is omitted, the label is an empty String. More...
 
IntervalSemantics GetSemantic () const
 Gets the semantics of how values inside the interval are interpreted. If the type is omitted, the semantic is NONE. More...
 
std::string GetSemanticAsString () const
 Gets the optional semantics of the interval as a string. If the semantics is omitted, the semantics is "NONE". 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

An Interval is an otx:ComplexType and represents the abstract base data type for all interval data types.

Member Function Documentation

◆ GetLabel()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::Interval::GetLabel ( ) const

Gets the optional label of the interval. If the label is omitted, the label is an empty String.

Returns
Label

◆ GetSemantic()

IntervalSemantics OpenTestSystem::Otx::Runtime::Api::DataTypes::Interval::GetSemantic ( ) const

Gets the semantics of how values inside the interval are interpreted. If the type is omitted, the semantic is NONE.

Returns
IntervalSemantics

◆ GetSemanticAsString()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::Interval::GetSemanticAsString ( ) const

Gets the optional semantics of the interval as a string. If the semantics is omitted, the semantics is "NONE".

Returns
Semantic string

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