Handle(
TDF_Attribute) Class::NewEmpty()
const {
return TDF_DERIVED_##Class(); } \
#define Handle(Class)
Define Handle() macro.
Definition: Standard_Handle.hxx:400
#define IMPLEMENT_STANDARD_RTTIEXT(Class, Base)
Defines implementation of type descriptor and DynamicType() function.
Definition: Standard_Type.hxx:111
Handle< TDF_Attribute >(* NewDerived)()
A function of derived attribute that returns a new attribute instance.
Definition: TDF_DerivedAttribute.hxx:55
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...
A class each application has to implement. It is used to contain the application data. This abstract class, alongwith Label, is one of the cornerstones of Model Editor. The groundwork is to define the root of information. This information is to be attached to a Label, and could be of any of the following types:
Definition: TDF_Attribute.hxx:130
Defines implementation of Handle method and registers the derived attribute.