Go to the source code of this file.
◆ ODRX_DECLARE_VALUE_TYPE
#define ODRX_DECLARE_VALUE_TYPE |
( |
|
type, |
|
|
|
attribute |
|
) |
| |
Value:
{\
attribute static
void del();\
};\
GLuint GLsizei GLsizei GLint GLenum * type
static const OdRxValueType & value()
Definition at line 799 of file RxValue.h.
◆ OdRxBoxedValuePtr
◆ createOdRxValue()
<group OdRx_Classes>
Creates an empty value of the specific type.
- Returns
- OdRxValue object that has the specified value type and does not contain a value.
Definition at line 608 of file RxValue.h.
◆ ODA_ASSUME()
◆ ODRX_DECLARE_VALUE_TYPE()
◆ rxenum_cast() [1/2]
template<typename ValueType >
const ValueType * rxenum_cast |
( |
const OdRxValue * |
value | ) |
|
throw | ( | |
| ) | | |
Const correct safe cast for enumerations. Returns non-NULL only if ValueType is contained in this value.
- Parameters
-
value | [in] Enumeration value which to cast a value type from. |
- Returns
- Value type if ValueType is contained in the specified enumeration value. NULL otherwise.
Definition at line 370 of file RxValue.h.
◆ rxenum_cast() [2/2]
template<typename ValueType >
ValueType * rxenum_cast |
( |
OdRxValue * |
value | ) |
|
throw | ( | |
| ) | | |
Safe cast for enumerations. Returns non-NULL only if ValueType is contained in this value.
- Parameters
-
value | [in] Enumeration value which to cast a value type from. |
- Returns
- Value type if ValueType is contained in the specified enumeration value. NULL otherwise.
Definition at line 322 of file RxValue.h.
◆ rxvalue_cast() [1/2]
template<typename ValueType >
const ValueType * rxvalue_cast |
( |
const OdRxValue * |
value | ) |
|
throw | ( | |
| ) | | |
Const correct safe cast. Returns non-NULL only if ValueType is contained in this value.
- Parameters
-
value | [in] Value which to cast a value type from. |
- Returns
- Value type if ValueType is contained in the specified value. NULL otherwise.
Definition at line 355 of file RxValue.h.
◆ rxvalue_cast() [2/2]
template<typename ValueType >
ValueType * rxvalue_cast |
( |
OdRxValue * |
value | ) |
|
throw | ( | |
| ) | | |
Safe cast. Returns non-NULL only if ValueType is contained in this value.
- Parameters
-
value | [in] Value which to cast a value type from. |
- Returns
- Value type if ValueType is contained in the specified value. NULL otherwise.
Definition at line 307 of file RxValue.h.
◆ rxvalue_cast< void >()
<group OdRx_Classes>
Definition at line 617 of file RxValue.h.