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

Provides facilities to manipulate data framework in a Draw-Commands environment. More...

#include <DDF.hxx>

Static Public Member Functions

static bool GetDF (const char *&Name, occ::handle< TDF_Data > &DF, const bool Complain=true)
 Search in draw directory the framewok identified by its name <Name>. returns True if found. In that case <DF> is set.
 
static bool FindLabel (const occ::handle< TDF_Data > &DF, const char *const Entry, TDF_Label &Label, const bool Complain=true)
 Search in <DF> the label identified by its entry <Entry>. returns <True> if found. In that case <Label> is set.
 
static bool AddLabel (const occ::handle< TDF_Data > &DF, const char *const Entry, TDF_Label &Label)
 Search in <DF> the label identified by its entry <Entry>. if label doesn't exist, create and add the Label in <DF>. In that case return True.
 
static bool Find (const occ::handle< TDF_Data > &DF, const char *const Entry, const Standard_GUID &ID, occ::handle< TDF_Attribute > &A, const bool Complain=true)
 Search in <DF> the attribute identified by its <ID> and its <entry>. returns <True> if found. In that case A is set.
 
template<class T >
static bool Find (const occ::handle< TDF_Data > &DF, const char *const Entry, const Standard_GUID &ID, occ::handle< T > &A, const bool Complain=true)
 Safe variant for arbitrary type of argument.
 
static Draw_InterpretorReturnLabel (Draw_Interpretor &theCommands, const TDF_Label &L)
 
static void AllCommands (Draw_Interpretor &theCommands)
 
static void BasicCommands (Draw_Interpretor &theCommands)
 Basic commands.
 
static void DataCommands (Draw_Interpretor &theCommands)
 Data framework commands create, clear & copy.
 
static void TransactionCommands (Draw_Interpretor &theCommands)
 open commit abort a transaction undo facilities.
 
static void BrowserCommands (Draw_Interpretor &theCommands)
 Browser commands .
 

Detailed Description

Provides facilities to manipulate data framework in a Draw-Commands environment.

Member Function Documentation

◆ AddLabel()

static bool DDF::AddLabel ( const occ::handle< TDF_Data > & DF,
const char *const Entry,
TDF_Label & Label )
static

Search in <DF> the label identified by its entry <Entry>. if label doesn't exist, create and add the Label in <DF>. In that case return True.

◆ AllCommands()

static void DDF::AllCommands ( Draw_Interpretor & theCommands)
static

◆ BasicCommands()

static void DDF::BasicCommands ( Draw_Interpretor & theCommands)
static

Basic commands.

◆ BrowserCommands()

static void DDF::BrowserCommands ( Draw_Interpretor & theCommands)
static

Browser commands .

◆ DataCommands()

static void DDF::DataCommands ( Draw_Interpretor & theCommands)
static

Data framework commands create, clear & copy.

◆ Find() [1/2]

template<class T >
static bool DDF::Find ( const occ::handle< TDF_Data > & DF,
const char *const Entry,
const Standard_GUID & ID,
occ::handle< T > & A,
const bool Complain = true )
inlinestatic

Safe variant for arbitrary type of argument.

◆ Find() [2/2]

static bool DDF::Find ( const occ::handle< TDF_Data > & DF,
const char *const Entry,
const Standard_GUID & ID,
occ::handle< TDF_Attribute > & A,
const bool Complain = true )
static

Search in <DF> the attribute identified by its <ID> and its <entry>. returns <True> if found. In that case A is set.

◆ FindLabel()

static bool DDF::FindLabel ( const occ::handle< TDF_Data > & DF,
const char *const Entry,
TDF_Label & Label,
const bool Complain = true )
static

Search in <DF> the label identified by its entry <Entry>. returns <True> if found. In that case <Label> is set.

◆ GetDF()

static bool DDF::GetDF ( const char *& Name,
occ::handle< TDF_Data > & DF,
const bool Complain = true )
static

Search in draw directory the framewok identified by its name <Name>. returns True if found. In that case <DF> is set.

◆ ReturnLabel()

static Draw_Interpretor & DDF::ReturnLabel ( Draw_Interpretor & theCommands,
const TDF_Label & L )
static

◆ TransactionCommands()

static void DDF::TransactionCommands ( Draw_Interpretor & theCommands)
static

open commit abort a transaction undo facilities.


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