Open CASCADE Technology  7.7.0
Public Types | Static Public Member Functions

TDF_DerivedAttribute Class Reference

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_AttributeAttribute (Standard_CString theType)
 Returns the derived registered attribute by its type. More...
 
static const TCollection_AsciiStringTypeName (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...
 

Detailed Description

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.

Member Typedef Documentation

◆ NewDerived

typedef Handle< TDF_Attribute >(* TDF_DerivedAttribute::NewDerived) ()

A function of derived attribute that returns a new attribute instance.

Member Function Documentation

◆ Attribute()

static Handle< TDF_Attribute > TDF_DerivedAttribute::Attribute ( Standard_CString  theType)
static

Returns the derived registered attribute by its type.

◆ Attributes()

static void TDF_DerivedAttribute::Attributes ( NCollection_List< Handle< TDF_Attribute >> &  theList)
static

Returns all the derived registered attributes list.

◆ Register()

static NewDerived TDF_DerivedAttribute::Register ( NewDerived  theNewAttributeFunction,
Standard_CString  theNameSpace = NULL,
Standard_CString  theTypeName = NULL 
)
static

Registers a derived by the pointer to a method that creates a new derived attribute instance.

◆ TypeName()

static const TCollection_AsciiString& TDF_DerivedAttribute::TypeName ( Standard_CString  theType)
static

Returns the type name of the registered attribute by its type.


The documentation for this class was generated from the following file: