CFx SDK Documentation  2023 SP0
Classes | Macros | Typedefs | Functions
RxValue.h File Reference
#include "RxValueType.h"
#include "RxMember.h"
#include "StringArray.h"
#include "IntArray.h"
#include "Ge/GeDoubleArray.h"
#include "StaticRxObject.h"
#include "CmColorBase.h"
#include "DbHandle.h"
#include "TD_PackPush.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

class  OdRxValue
 
class  OdRxBoxedValue
 
class  OdRxBoxedValueOnStack
 
struct  OdRxValueType::Desc< const OdChar * >
 
struct  OdRxValueType::Desc< OdRxClass * >
 
struct  OdRxValueType::Desc< const char * >
 

Macros

#define ODRX_DECLARE_VALUE_TYPE(type, attribute)
 

Typedefs

typedef OdSmartPtr< OdRxBoxedValueOdRxBoxedValuePtr
 

Functions

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 ()
 
template<class T >
OdRxValue createOdRxValue ()
 
 ODA_ASSUME (sizeof(OdRxValue)==32)
 
template<>
const voidrxvalue_cast< void > (const OdRxValue *value) throw ()
 
 ODRX_DECLARE_VALUE_TYPE (OdCmTransparency, FIRSTDLL_EXPORT)
 

Macro Definition Documentation

◆ ODRX_DECLARE_VALUE_TYPE

#define ODRX_DECLARE_VALUE_TYPE (   type,
  attribute 
)
Value:
template<> struct OdRxValueType::Desc<type>\
{\
attribute static const OdRxValueType& value() throw();\
attribute static void del();\
};\
template<> OdRxValue::OdRxValue(const type&) throw();
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
static void del()
static const OdRxValueType & value()

Definition at line 610 of file RxValue.h.

Typedef Documentation

◆ OdRxBoxedValuePtr

Definition at line 532 of file RxValue.h.

Function Documentation

◆ createOdRxValue()

template<class T >
OdRxValue createOdRxValue ( )


<group OdRx_Classes> Create empty value of the specific type.

Definition at line 461 of file RxValue.h.

◆ ODA_ASSUME()

ODA_ASSUME ( sizeof(OdRxValue = =32)

◆ ODRX_DECLARE_VALUE_TYPE()

ODRX_DECLARE_VALUE_TYPE ( OdCmTransparency  ,
FIRSTDLL_EXPORT   
)

OdRxValueType specialization for 'OdString' value type

OdRxValueType specialization for 'OdCmTransparency' 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.

Definition at line 263 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.

Definition at line 232 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.

Definition at line 254 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.

Definition at line 223 of file RxValue.h.

◆ rxvalue_cast< void >()

template<>
const void* rxvalue_cast< void > ( const OdRxValue value)
throw (
)
inline

<group OdRx_Classes>

Definition at line 470 of file RxValue.h.