API Reference > OdRx Classes > OdRxValue Class
OdRxValue Class
OdRxValue
Syntax
C++
class OdRxValue;

RxValue.h

Generic variant type. Can contain any C++ type. Contained type is described by OdRxValueType.

 
Name 
Description 
 
Default destructor for objects of the OdRxValue class. 
 
This is the overview for the OdRxValue constructor overload. 
 
Name 
Description 
 
Returns canonical empty value. 
 
Get the corresponding descriptor, if this value contains an enumeration item. 
 
Checks if the value is empty. 
 
Returns true if the value is undefined. This is represented by assigning special singleton value "varies". 
 
each OdRxValue instance is 32 bytes long (on both 32 and 64 bit) 
 
This is the overview for the ODRX_DECLARE_VALUE_TYPE method overload. 
 
This is the overview for the OdRxValue::OdRxValue method overload. 
 
Constant correct safe cast for enumerations. Returns non-null only if ValueType is contained in this value.
 
 
This is the overview for the rxvalue_cast method overload. 
 
Read value from the byte array.
 
 
Store value in the byte array.
 
 
Convert value to string.
 
 
type 
Get metaclass describing C++ type of the stored value. 
 
Retreives an ANSI string in format of path that elaborates the sense of value of the value type. Can be interpreted additionally when working with RxValue. 
 
Unwraps RxValue contained in OdRxBoxedValue.
 
 
Returns singleton, representing undefined value. 
Name 
Description 
Smart pointer to objects of the OdRxBoxedValue class. 
 
Name 
Description 
 
!= 
Negative comparison operator.
 
 
<< 
Assignment operator. Assigns a value from a C++ variable to this value.
 
 
= 
This is the overview for the = operator overload. 
 
== 
Comparison operator.
 
 
>> 
Output this value into the C++ variable. Unlike rxvalue_cast<> takes into account type propagations supported by type().toValueType or OdRxValueType::Desc::value().fromValueType.
 
 
Name 
Description 
 
OdRxValueType specialization for 'const char*' value type. 
 
This is class OdRxValue::OdRxValueType::Desc<const OdChar*>. 
 
OdRxValueType specialization for 'OdRxClass*' value type. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.