Open CASCADE Technology
7.7.0
|
Class provides global access (through static methods) to all derived attributres information. It is used internally by macros for registration of derived attributes and driver-tables for getting this data. More...
#include <TDF_DerivedAttribute.hxx>
Public Types | |
typedef Handle< TDF_Attribute >(* | NewDerived) () |
A function of derived attribute that returns a new attribute instance. More... | |
Static Public Member Functions | |
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. More... | |
static Handle< TDF_Attribute > | Attribute (Standard_CString theType) |
Returns the derived registered attribute by its type. More... | |
static const TCollection_AsciiString & | TypeName (Standard_CString theType) |
Returns the type name of the registered attribute by its type. More... | |
static void | Attributes (NCollection_List< Handle< TDF_Attribute >> &theList) |
Returns all the derived registered attributes list. More... | |
Class provides global access (through static methods) to all derived attributres information. It is used internally by macros for registration of derived attributes and driver-tables for getting this data.
typedef Handle< TDF_Attribute >(* TDF_DerivedAttribute::NewDerived) () |
A function of derived attribute that returns a new attribute instance.
|
static |
Returns the derived registered attribute by its type.
|
static |
Returns all the derived registered attributes list.
|
static |
Registers a derived by the pointer to a method that creates a new derived attribute instance.
|
static |
Returns the type name of the registered attribute by its type.