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
96#undef ODRXVARVAL_CONSTR
102#define ODRXVARVAL_IMPLICIT(type, getter) \
103 operator type() const \
105 return get()->getter(); \
109 return get()->getter(); \
122#ifdef OD_INTPTR_UNIQUE
132#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)