Open CASCADE Technology  6.9.1
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 Standard_Boolean GetDF (Standard_CString &Name, Handle< TDF_Data > &DF, const Standard_Boolean Complain=Standard_True)
 Search in draw directory the framewok identified by its name <Name>. returns True if found. In that case <DF> is setted. More...
 
static Standard_Boolean FindLabel (const Handle< TDF_Data > &DF, const Standard_CString Entry, TDF_Label &Label, const Standard_Boolean Complain=Standard_True)
 Search in <DF> the label identified by its entry <Entry>. returns <True> if found. In that case <Label> is setted. More...
 
static Standard_Boolean AddLabel (const Handle< TDF_Data > &DF, const Standard_CString 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. More...
 
static Standard_Boolean Find (const Handle< TDF_Data > &DF, const Standard_CString Entry, const Standard_GUID &ID, Handle< TDF_Attribute > &A, const Standard_Boolean Complain=Standard_True)
 Search in <DF> the attribute identified by its <ID> and its <entry>. returns <True> if found. In that case A is setted. More...
 
static Draw_InterpretorReturnLabel (Draw_Interpretor &theCommands, const TDF_Label &L)
 
static void AllCommands (Draw_Interpretor &theCommands)
 
static void BasicCommands (Draw_Interpretor &theCommands)
 Basic commands. More...
 
static void DataCommands (Draw_Interpretor &theCommands)
 Data framework commands create, clear & copy. More...
 
static void TransactionCommands (Draw_Interpretor &theCommands)
 open commit abort a transaction undo facilities. More...
 
static void BrowserCommands (Draw_Interpretor &theCommands)
 Browser commands . More...
 

Detailed Description

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

Member Function Documentation

static Standard_Boolean DDF::AddLabel ( const Handle< TDF_Data > &  DF,
const Standard_CString  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.

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

Basic commands.

static void DDF::BrowserCommands ( Draw_Interpretor theCommands)
static

Browser commands .

static void DDF::DataCommands ( Draw_Interpretor theCommands)
static

Data framework commands create, clear & copy.

static Standard_Boolean DDF::Find ( const Handle< TDF_Data > &  DF,
const Standard_CString  Entry,
const Standard_GUID ID,
Handle< TDF_Attribute > &  A,
const Standard_Boolean  Complain = Standard_True 
)
static

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

static Standard_Boolean DDF::FindLabel ( const Handle< TDF_Data > &  DF,
const Standard_CString  Entry,
TDF_Label Label,
const Standard_Boolean  Complain = Standard_True 
)
static

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

static Standard_Boolean DDF::GetDF ( Standard_CString Name,
Handle< TDF_Data > &  DF,
const Standard_Boolean  Complain = Standard_True 
)
static

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

static Draw_Interpretor& DDF::ReturnLabel ( Draw_Interpretor theCommands,
const TDF_Label L 
)
static
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: