|
CFx SDK Documentation
2020SP3
|
#include <RxValue.h>
Public Member Functions | |
| OdRxValue () throw () | |
| OdRxValue (const OdRxValue &rhs) throw () | |
| OdRxValue (const OdRxValueType &type, const OdRxValue &value) throw () | |
| const OdRxValue & | operator= (const OdRxValue &rhs) throw () |
| ~OdRxValue () throw () | |
| const OdRxValueType & | type () const throw () |
| bool | isEmpty () const throw () |
| bool | isVaries () const throw () |
| OdString | toString (OdRxValueType::StringFormat format=OdRxValueType::kStringFormatGlobal) const throw () |
| bool | operator== (const OdRxValue &value) const throw () |
| bool | operator!= (const OdRxValue &value) const throw () |
| const OdAnsiString | typePath () const |
| template<typename ValueType > | |
| OdRxValue (const ValueType &value) throw () | |
| template<typename ValueType > | |
| OdRxValue & | operator= (const ValueType &rhs) throw () |
| const OdRxEnumTag * | getEnumTag () const throw () |
| size_t | serializeOut (void *pBytes, size_t &maxBytesToWrite) const |
| size_t | serializeIn (const void *pBytes, size_t maxBytesToRead) |
| template<typename ValueType > | |
| void | operator<< (const ValueType &val) |
| template<typename ValueType > | |
| bool | operator>> (ValueType &val) const |
| template<> | |
| OdRxValue (const OdChar *const &) throw () | |
| template<> | |
| OdRxValue (const char *const &) throw () | |
Static Public Member Functions | |
| static const OdRxValue & | empty () throw () |
| static const OdRxValue & | varies () throw () |
| static const OdRxValue * | unbox (const OdRxObject *pO) throw () |
| static OdRxValue * | unbox (OdRxObject *pO) throw () |
Friends | |
| template<typename ValueType > | |
| ValueType * | rxvalue_cast (OdRxValue *value) throw () |
| template<typename ValueType > | |
| ValueType * | rxenum_cast (OdRxValue *value) throw () |
| template<typename ValueType > | |
| const ValueType * | rxvalue_cast (const OdRxValue *value) throw () |
| template<typename ValueType > | |
| const ValueType * | rxenum_cast (const OdRxValue *value) throw () |
<group OdRx_Classes>
Generic variant type. May contain any C++ type. Contained type is described by OdRxValueType.
|
inline | |||||||||||||
|
inline | ||||||||||||||
|
inline | ||||||||||||||||||||
|
inline | ||||||||||||||
| OdRxValue::OdRxValue | ( | const OdChar *const & | ) | ||
| throw | ( | ||||
| ) | |||||
| OdRxValue::OdRxValue | ( | const char *const & | ) | ||
| throw | ( | ||||
| ) | |||||
|
static | |||||||||||||
Canonical empty value.
| const OdRxEnumTag* OdRxValue::getEnumTag | ( | ) | const | |
| throw | ( | |||
| ) | ||||
If this value contains enumeration item, returns corresponding descriptor.
|
inline | |||||||||||||
|
inline | |||||||||||||
|
inline | ||||||||||||||
|
inline |
|
inline | ||||||||||||||
|
inline | ||||||||||||||
|
inline |
Output this value into the C++ variable. Unlike rxvalue_cast<> takes into account type propagations supported by type().toValueType or OdRxValueType::Desc<ValueType>::value().fromValueType
| size_t OdRxValue::serializeIn | ( | const void * | pBytes, |
| size_t | maxBytesToRead | ||
| ) |
Read value from the byte array.
| size_t OdRxValue::serializeOut | ( | void * | pBytes, |
| size_t & | maxBytesToWrite | ||
| ) | const |
Store value in the byte array.
|
inline | ||||||||||||||
|
inline | |||||||||||||
|
inline |
|
static | ||||||||||||||
Unwraps RxValue contained in OdRxBoxedValue
|
static | ||||||||||||||
Unwraps RxValue contained in OdRxBoxedValue
|
static | |||||||||||||
Singleton representing undefined value.
|
friend | ||||||||||||||
|
friend | ||||||||||||||
|
friend | ||||||||||||||
|
friend | ||||||||||||||