Go to the source code of this file.
|
#define | ODTF_CREATE_ATTRIBUTE(Name, value) reuslt.push_back(::newOdTfAttribute(OD_T(#Name), pObject, value)); |
|
#define | ODTF_DEFINE_ATTRIBUTES_CONSTRUCTOR(Name, ATTRIBUTES_LIST) |
|
#define | ODTF_CREATE_PROPERTY_NO_ATTRS(PropertyName, type, gettterFn, setterFn, defaultItemFn) |
|
#define | ODTF_DEFINE_PROPERTIES_CONSTRUCTOR(ClassName, PROPERTIES_LIST) |
|
#define | ODTF_DECLARE_MEMBERS(ClassName) ODRX_DECLARE_MEMBERS_GENERIC(OdTfClass, ClassName) |
|
#define | ODTF_DEFINE_RTTI_MEMBERS(ClassName, ParentClass) ODRX_DEFINE_RTTI_MEMBERS_GENERIC(OdTfClass, ClassName, ParentClass) |
|
#define | ODTF_DEFINE_INIT_MEMBERS(ClassName, ParentClass, attrsConsFn, propsConsFn, pseudoConsFn, szClassName) |
|
#define | ODTF_DEFINE_MEMBERS2(ClassName, ParentClass, attrsConsFn, propsConsFn, pseudoConsFn, szClassName) |
|
#define | ODTF_NO_CONS_NO_ATTRS_NO_PROPS_DEFINE_MEMBERS(ClassName, ParentClass) |
|
#define | ODTF_NO_CONS_NO_ATTRS_PROPS_DEFINE_MEMBERS(ClassName, ParentClass, PROPERTIES_LIST) |
|
#define | ODTF_CONS_NO_ATTRS_PROPS_DEFINE_MEMBERS(ClassName, ParentClass, PROPERTIES_LIST, DOCREATE) |
|
#define | ODTF_CONS_NO_ATTRS_NO_PROPS_DEFINE_MEMBERS(ClassName, ParentClass, DOCREATE) |
|
|
TFCORE_EXPORT OdTfClass * | newOdTfClass (const OdString &name, OdRxClass *pBaseClass, OdTfAttributesConstructorType pAttrsConstr, OdTfPropertiesConstructorType pPropsConstr, OdPseudoConstructorType pConstr, bool bRegister=true) |
|
TFCORE_EXPORT OdTfClass * | createOdTfClass () |
|
TFCORE_EXPORT OdTfClass * | initOdTfClass (OdTfClass *pClass, const OdString &name, OdRxClass *pBaseClass, const OdArray< OdTfAttribute * > &attributes, const OdArray< OdTfProperty * > &properties, OdPseudoConstructorType pConstr, bool bRegister=true) |
|
TFCORE_EXPORT OdTfProperty * | newOdTfProperty (const OdString &name, OdTfClass *pOwner, OdTfVariant::Type type, OdTfAttributesConstructorType pAttrsConstr, OdTfVariantConstructorType pDefaultValueConstructor, OdTfPropertyGetterType pGetter, OdTfPropertySetterType pSetter) |
|
TFCORE_EXPORT OdTfProperty * | createOdTfProperty () |
|
TFCORE_EXPORT OdTfProperty * | initOdTfProperty (OdTfProperty *pProp, const OdString &name, OdTfClass *pOwner, OdTfVariant::Type type, const OdArray< OdTfAttribute * > &attributes, OdTfVariantConstructorType pDefaultValueConstructor, OdTfPropertyGetterType pGetter, OdTfPropertySetterType pSetter) |
|
TFCORE_EXPORT OdTfAttribute * | newOdTfAttribute (const OdString &name, OdRxObject *pOwner, const OdTfVariant &value) |
|
◆ ODTF_CONS_NO_ATTRS_NO_PROPS_DEFINE_MEMBERS
#define ODTF_CONS_NO_ATTRS_NO_PROPS_DEFINE_MEMBERS |
( |
|
ClassName, |
|
|
|
ParentClass, |
|
|
|
DOCREATE |
|
) |
| |
Value:
ClassName::pseudoConstructor,
OD_T(#ClassName))
\
Definition at line 107 of file TfObject.h.
◆ ODTF_CONS_NO_ATTRS_PROPS_DEFINE_MEMBERS
#define ODTF_CONS_NO_ATTRS_PROPS_DEFINE_MEMBERS |
( |
|
ClassName, |
|
|
|
ParentClass, |
|
|
|
PROPERTIES_LIST, |
|
|
|
DOCREATE |
|
) |
| |
Value:
ODTF_DEFINE_MEMBERS2(ClassName, ParentClass,
NULL, \
ClassName##propertiesConstructor, \
ClassName::pseudoConstructor,
OD_T(#ClassName))
\
Definition at line 98 of file TfObject.h.
◆ ODTF_CREATE_ATTRIBUTE
◆ ODTF_CREATE_PROPERTY_NO_ATTRS
#define ODTF_CREATE_PROPERTY_NO_ATTRS |
( |
|
PropertyName, |
|
|
|
type, |
|
|
|
gettterFn, |
|
|
|
setterFn, |
|
|
|
defaultItemFn |
|
) |
| |
Value:
defaultItemFn, gettterFn, setterFn));
Definition at line 47 of file TfObject.h.
◆ ODTF_DECLARE_MEMBERS
◆ ODTF_DEFINE_ATTRIBUTES_CONSTRUCTOR
#define ODTF_DEFINE_ATTRIBUTES_CONSTRUCTOR |
( |
|
Name, |
|
|
|
ATTRIBUTES_LIST |
|
) |
| |
Value:
OdArray<OdTfAttribute*> result; \
return result; \
}
Definition at line 39 of file TfObject.h.
◆ ODTF_DEFINE_INIT_MEMBERS
#define ODTF_DEFINE_INIT_MEMBERS |
( |
|
ClassName, |
|
|
|
ParentClass, |
|
|
|
attrsConsFn, |
|
|
|
propsConsFn, |
|
|
|
pseudoConsFn, |
|
|
|
szClassName |
|
) |
| |
Value:
ClassName, (::
newOdTfClass(szClassName, ParentClass::desc(), \
attrsConsFn, propsConsFn, pseudoConsFn)), \
(::
newOdTfClass(szClassName, ParentClass::desc(), attrsConsFn, \
propsConsFn, pseudoConsFn)))
Definition at line 67 of file TfObject.h.
◆ ODTF_DEFINE_MEMBERS2
#define ODTF_DEFINE_MEMBERS2 |
( |
|
ClassName, |
|
|
|
ParentClass, |
|
|
|
attrsConsFn, |
|
|
|
propsConsFn, |
|
|
|
pseudoConsFn, |
|
|
|
szClassName |
|
) |
| |
Value: \
ODTF_DEFINE_RTTI_MEMBERS(ClassName, ParentClass) \
ODTF_DEFINE_INIT_MEMBERS(ClassName, ParentClass, attrsConsFn, propsConsFn, \
pseudoConsFn, szClassName)
Definition at line 75 of file TfObject.h.
◆ ODTF_DEFINE_PROPERTIES_CONSTRUCTOR
#define ODTF_DEFINE_PROPERTIES_CONSTRUCTOR |
( |
|
ClassName, |
|
|
|
PROPERTIES_LIST |
|
) |
| |
Value:
OdArray<OdTfProperty*> result; \
return result; \
}
Definition at line 53 of file TfObject.h.
◆ ODTF_DEFINE_RTTI_MEMBERS
◆ ODTF_NO_CONS_NO_ATTRS_NO_PROPS_DEFINE_MEMBERS
#define ODTF_NO_CONS_NO_ATTRS_NO_PROPS_DEFINE_MEMBERS |
( |
|
ClassName, |
|
|
|
ParentClass |
|
) |
| |
◆ ODTF_NO_CONS_NO_ATTRS_PROPS_DEFINE_MEMBERS
#define ODTF_NO_CONS_NO_ATTRS_PROPS_DEFINE_MEMBERS |
( |
|
ClassName, |
|
|
|
ParentClass, |
|
|
|
PROPERTIES_LIST |
|
) |
| |
Value:
ODTF_DEFINE_MEMBERS2(ClassName, ParentClass,
NULL, \
ClassName##propertiesConstructor,
NULL, \
Definition at line 89 of file TfObject.h.
◆ OdTfAttributePtr
◆ OdTfAttributesConstructorType
◆ OdTfAttributesContainerPtr
◆ OdTfClassPtr
◆ OdTfObjectPtr
◆ OdTfPropertiesConstructorType
◆ OdTfPropertiesContainerPtr
◆ OdTfPropertyGetterType
◆ OdTfPropertyPtr
◆ OdTfPropertySetterType
◆ OdTfVariantConstructorType
◆ createOdTfClass()
◆ createOdTfProperty()
◆ initOdTfClass()
◆ initOdTfProperty()
◆ newOdTfAttribute()
◆ newOdTfClass()
◆ newOdTfProperty()
#define ODTF_DEFINE_MEMBERS2(ClassName, ParentClass, attrsConsFn, propsConsFn, pseudoConsFn, szClassName)
TFCORE_EXPORT OdTfClass * newOdTfClass(const OdString &name, OdRxClass *pBaseClass, OdTfAttributesConstructorType pAttrsConstr, OdTfPropertiesConstructorType pPropsConstr, OdPseudoConstructorType pConstr, bool bRegister=true)
TFCORE_EXPORT OdTfProperty * newOdTfProperty(const OdString &name, OdTfClass *pOwner, OdTfVariant::Type type, OdTfAttributesConstructorType pAttrsConstr, OdTfVariantConstructorType pDefaultValueConstructor, OdTfPropertyGetterType pGetter, OdTfPropertySetterType pSetter)