24 #ifndef _VARIANTVALUE_H_INCLUDED_
25 #define _VARIANTVALUE_H_INCLUDED_
71 #define ODRXVARVAL_CONSTR(type, setter) \
72 OdRxVariantValue(type value) \
74 assign(OdRxObjectImpl<OdRxVariant>::createObject()); \
75 get()->setter(value); \
86 #ifdef OD_INTPTR_UNIQUE
95 #undef ODRXVARVAL_CONSTR
101 #define ODRXVARVAL_IMPLICIT(type, getter) \
102 operator type() const \
104 return get()->getter(); \
108 return get()->getter(); \
121 #ifdef OD_INTPTR_UNIQUE
130 #undef ODRXVARVAL_IMPLICIT
#define ODRXVARVAL_IMPLICIT(type, getter)
#define ODRXVARVAL_CONSTR(type, setter)
OdSmartPtr< OdRxVariant > OdRxVariantPtr
OdRxVariantValue(const OdRxObject *pObject)
OdRxVariantValue(const OdRxVariant *pVariant)
void assign(const OdRxVariant *pVariant)
OdSmartPtr & operator=(const OdSmartPtr &pObject)