Open CASCADE Technology 7.8.0
Static Public Member Functions
TDataStd Class Reference

This package defines standard attributes for modelling. These allow you to create and modify labels and attributes for many basic data types. Standard topological and visualization attributes have also been created. To find an attribute attached to a specific label, you use the GUID of the type of attribute you are looking for. To do this, first find this information using the method GetID as follows: Standard_GUID anID = MyAttributeClass::GetID(); Then, use the method Find for the label as follows: Standard_Boolean HasAttribute = aLabel.Find(anID,anAttribute); Note For information on the relations between this component of OCAF and the others, refer to the OCAF User's Guide. More...

#include <TDataStd.hxx>

Static Public Member Functions

static void IDList (TDF_IDList &anIDList)
 Appends to <anIDList> the list of the attributes IDs of this package. CAUTION: <anIDList> is NOT cleared before use.
 
static Standard_OStreamPrint (const TDataStd_RealEnum DIM, Standard_OStream &S)
 Prints the name of the real dimension <DIM> as a String on the Stream and returns .
 

Detailed Description

This package defines standard attributes for modelling. These allow you to create and modify labels and attributes for many basic data types. Standard topological and visualization attributes have also been created. To find an attribute attached to a specific label, you use the GUID of the type of attribute you are looking for. To do this, first find this information using the method GetID as follows: Standard_GUID anID = MyAttributeClass::GetID(); Then, use the method Find for the label as follows: Standard_Boolean HasAttribute = aLabel.Find(anID,anAttribute); Note For information on the relations between this component of OCAF and the others, refer to the OCAF User's Guide.

Member Function Documentation

◆ IDList()

static void TDataStd::IDList ( TDF_IDList anIDList)
static

Appends to <anIDList> the list of the attributes IDs of this package. CAUTION: <anIDList> is NOT cleared before use.

◆ Print()

static Standard_OStream & TDataStd::Print ( const TDataStd_RealEnum  DIM,
Standard_OStream S 
)
static

Prints the name of the real dimension <DIM> as a String on the Stream and returns .


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