Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions
TDF_DerivedAttribute Class Reference

Class provides global access (through static methods) to all derived attributes 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 occ::handle< TDF_Attribute >(* NewDerived) ()
 A function of derived attribute that returns a new attribute instance.
 

Static Public Member Functions

static NewDerived Register (NewDerived theNewAttributeFunction, const char *theNameSpace=nullptr, const char *theTypeName=nullptr)
 Registers a derived by the pointer to a method that creates a new derived attribute instance.
 
static occ::handle< TDF_AttributeAttribute (const char *theType)
 Returns the derived registered attribute by its type.
 
static const TCollection_AsciiStringTypeName (const char *theType)
 Returns the type name of the registered attribute by its type.
 
static void Attributes (NCollection_List< occ::handle< TDF_Attribute > > &theList)
 Returns all the derived registered attributes list.
 

Detailed Description

Class provides global access (through static methods) to all derived attributes information. It is used internally by macros for registration of derived attributes and driver-tables for getting this data.

Member Typedef Documentation

◆ NewDerived

typedef occ::handle< TDF_Attribute >(* TDF_DerivedAttribute::NewDerived) ()

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

Member Function Documentation

◆ Attribute()

static occ::handle< TDF_Attribute > TDF_DerivedAttribute::Attribute ( const char * theType)
static

Returns the derived registered attribute by its type.

◆ Attributes()

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

Returns all the derived registered attributes list.

◆ Register()

static NewDerived TDF_DerivedAttribute::Register ( NewDerived theNewAttributeFunction,
const char * theNameSpace = nullptr,
const char * theTypeName = nullptr )
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 ( const char * theType)
static

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


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