CFx SDK Documentation
2023 SP0
|
#include "TD_PackPush.h"
#include "RxObject.h"
#include "RxIterator.h"
#include "TfVariant.h"
#include "TfObjectReactor.h"
#include "DbStubPtrArray.h"
#include "Gi/GiDrawable.h"
Go to the source code of this file.
Classes | |
class | OdTfAttributesContainer |
class | OdTfPropertiesContainer |
class | OdTfClass |
class | OdTfProperty |
class | OdTfAttribute |
class | OdTfObject |
Macros | |
#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) |
Typedefs | |
typedef OdSmartPtr< OdTfAttributesContainer > | OdTfAttributesContainerPtr |
typedef OdSmartPtr< OdTfPropertiesContainer > | OdTfPropertiesContainerPtr |
typedef OdSmartPtr< OdTfClass > | OdTfClassPtr |
typedef OdSmartPtr< OdTfProperty > | OdTfPropertyPtr |
typedef OdSmartPtr< OdTfAttribute > | OdTfAttributePtr |
typedef OdSmartPtr< OdTfObject > | OdTfObjectPtr |
typedef OdArray< OdTfProperty * >(* | OdTfPropertiesConstructorType) (OdTfClass *) |
typedef OdArray< OdTfAttribute * >(* | OdTfAttributesConstructorType) (OdRxObject *) |
typedef OdResult(* | OdTfPropertyGetterType) (const OdTfObject *, OdTfVariant &) |
typedef OdResult(* | OdTfPropertySetterType) (OdTfObject *, const OdTfVariant &) |
typedef OdTfVariant(* | OdTfVariantConstructorType) () |
#define ODTF_CONS_NO_ATTRS_NO_PROPS_DEFINE_MEMBERS | ( | ClassName, | |
ParentClass, | |||
DOCREATE | |||
) |
Definition at line 107 of file TfObject.h.
#define ODTF_CONS_NO_ATTRS_PROPS_DEFINE_MEMBERS | ( | ClassName, | |
ParentClass, | |||
PROPERTIES_LIST, | |||
DOCREATE | |||
) |
Definition at line 98 of file TfObject.h.
#define ODTF_CREATE_ATTRIBUTE | ( | Name, | |
value | |||
) | reuslt.push_back(::newOdTfAttribute(OD_T(#Name), pObject, value)); |
Definition at line 36 of file TfObject.h.
#define ODTF_CREATE_PROPERTY_NO_ATTRS | ( | PropertyName, | |
type, | |||
gettterFn, | |||
setterFn, | |||
defaultItemFn | |||
) |
Definition at line 47 of file TfObject.h.
#define ODTF_DECLARE_MEMBERS | ( | ClassName | ) | ODRX_DECLARE_MEMBERS_GENERIC(OdTfClass, ClassName) |
Definition at line 61 of file TfObject.h.
#define ODTF_DEFINE_ATTRIBUTES_CONSTRUCTOR | ( | Name, | |
ATTRIBUTES_LIST | |||
) |
Definition at line 39 of file TfObject.h.
#define ODTF_DEFINE_INIT_MEMBERS | ( | ClassName, | |
ParentClass, | |||
attrsConsFn, | |||
propsConsFn, | |||
pseudoConsFn, | |||
szClassName | |||
) |
Definition at line 67 of file TfObject.h.
#define ODTF_DEFINE_MEMBERS2 | ( | ClassName, | |
ParentClass, | |||
attrsConsFn, | |||
propsConsFn, | |||
pseudoConsFn, | |||
szClassName | |||
) |
Definition at line 75 of file TfObject.h.
#define ODTF_DEFINE_PROPERTIES_CONSTRUCTOR | ( | ClassName, | |
PROPERTIES_LIST | |||
) |
Definition at line 53 of file TfObject.h.
#define ODTF_DEFINE_RTTI_MEMBERS | ( | ClassName, | |
ParentClass | |||
) | ODRX_DEFINE_RTTI_MEMBERS_GENERIC(OdTfClass, ClassName, ParentClass) |
Definition at line 64 of file TfObject.h.
#define ODTF_NO_CONS_NO_ATTRS_NO_PROPS_DEFINE_MEMBERS | ( | ClassName, | |
ParentClass | |||
) |
Definition at line 82 of file TfObject.h.
#define ODTF_NO_CONS_NO_ATTRS_PROPS_DEFINE_MEMBERS | ( | ClassName, | |
ParentClass, | |||
PROPERTIES_LIST | |||
) |
Definition at line 89 of file TfObject.h.
typedef OdSmartPtr<OdTfAttribute> OdTfAttributePtr |
Definition at line 198 of file TfObject.h.
typedef OdArray<OdTfAttribute*>(* OdTfAttributesConstructorType) (OdRxObject *) |
Definition at line 348 of file TfObject.h.
Definition at line 124 of file TfObject.h.
typedef OdSmartPtr<OdTfClass> OdTfClassPtr |
Definition at line 159 of file TfObject.h.
typedef OdSmartPtr<OdTfObject> OdTfObjectPtr |
Definition at line 341 of file TfObject.h.
typedef OdArray<OdTfProperty*>(* OdTfPropertiesConstructorType) (OdTfClass *) |
Definition at line 347 of file TfObject.h.
Definition at line 145 of file TfObject.h.
typedef OdResult(* OdTfPropertyGetterType) (const OdTfObject *, OdTfVariant &) |
Definition at line 349 of file TfObject.h.
typedef OdSmartPtr<OdTfProperty> OdTfPropertyPtr |
Definition at line 185 of file TfObject.h.
typedef OdResult(* OdTfPropertySetterType) (OdTfObject *, const OdTfVariant &) |
Definition at line 351 of file TfObject.h.
typedef OdTfVariant(* OdTfVariantConstructorType) () |
Definition at line 353 of file TfObject.h.
TFCORE_EXPORT OdTfClass* createOdTfClass | ( | ) |
TFCORE_EXPORT OdTfProperty* createOdTfProperty | ( | ) |
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* 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 | ||
) |
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 | ||
) |