{ \
return new Class(); \
} \
{ \
return TDF_DERIVED_##Class(); \
}
#define IMPLEMENT_STANDARD_RTTIEXT(Class, Base)
Defines implementation of type descriptor and DynamicType() function.
Definition Standard_Type.hxx:81
static NewDerived Register(NewDerived theNewAttributeFunction, Standard_CString theNameSpace=NULL, Standard_CString theTypeName=NULL)
Registers a derived by the pointer to a method that creates a new derived attribute instance.
Handle< TDF_Attribute >(* NewDerived)()
A function of derived attribute that returns a new attribute instance.
Definition TDF_DerivedAttribute.hxx:67
Defines implementation of Handle method, serialization methods and registers the derived attribute.