Open CASCADE Technology  7.0.0
Static Public Member Functions
DDocStd Class Reference

This package provides Draw services to test CAF standard documents (see TDocStd package) More...

#include <DDocStd.hxx>

Static Public Member Functions

static Standard_Boolean Find (Handle< TDocStd_Application > &Appli, const Standard_Boolean Complain=Standard_True)
 return the application of the session. False if there is noone current application. More...
 
static Standard_Boolean GetDocument (Standard_CString &Name, Handle< TDocStd_Document > &Doc, const Standard_Boolean Complain=Standard_True)
 
static Standard_Boolean Find (const Handle< TDocStd_Document > &Document, const Standard_CString Entry, TDF_Label &Label, const Standard_Boolean Complain=Standard_True)
 
static Standard_Boolean Find (const Handle< TDocStd_Document > &Document, const Standard_CString Entry, const Standard_GUID &ID, Handle< TDF_Attribute > &A, const Standard_Boolean Complain=Standard_True)
 
template<class T >
static Standard_Boolean Find (const Handle< TDocStd_Document > &Document, const Standard_CString Entry, const Standard_GUID &ID, Handle< T > &A, const Standard_Boolean Complain=Standard_True)
 Safe variant for arbitrary type of argument. More...
 
static Draw_InterpretorReturnLabel (Draw_Interpretor &theCommands, const TDF_Label &L)
 
static void AllCommands (Draw_Interpretor &theCommands)
 
static void ApplicationCommands (Draw_Interpretor &theCommands)
 NewDocument, Open, SaveAs, Save. More...
 
static void DocumentCommands (Draw_Interpretor &theCommands)
 Undo, Redo, SetModified, Propagate. More...
 
static void ToolsCommands (Draw_Interpretor &theCommands)
 Modified, Update. More...
 
static void MTMCommands (Draw_Interpretor &theCommands)
 Create, Add, Remove, Open, Commit, Undo, Redo, SetNestedMode. More...
 

Detailed Description

This package provides Draw services to test CAF standard documents (see TDocStd package)

It provides :

Member Function Documentation

static void DDocStd::AllCommands ( Draw_Interpretor theCommands)
static
static void DDocStd::ApplicationCommands ( Draw_Interpretor theCommands)
static

NewDocument, Open, SaveAs, Save.

static void DDocStd::DocumentCommands ( Draw_Interpretor theCommands)
static

Undo, Redo, SetModified, Propagate.

static Standard_Boolean DDocStd::Find ( Handle< TDocStd_Application > &  Appli,
const Standard_Boolean  Complain = Standard_True 
)
static

return the application of the session. False if there is noone current application.

static Standard_Boolean DDocStd::Find ( const Handle< TDocStd_Document > &  Document,
const Standard_CString  Entry,
TDF_Label Label,
const Standard_Boolean  Complain = Standard_True 
)
static
static Standard_Boolean DDocStd::Find ( const Handle< TDocStd_Document > &  Document,
const Standard_CString  Entry,
const Standard_GUID ID,
Handle< TDF_Attribute > &  A,
const Standard_Boolean  Complain = Standard_True 
)
static
template<class T >
static Standard_Boolean DDocStd::Find ( const Handle< TDocStd_Document > &  Document,
const Standard_CString  Entry,
const Standard_GUID ID,
Handle< T > &  A,
const Standard_Boolean  Complain = Standard_True 
)
inlinestatic

Safe variant for arbitrary type of argument.

static Standard_Boolean DDocStd::GetDocument ( Standard_CString Name,
Handle< TDocStd_Document > &  Doc,
const Standard_Boolean  Complain = Standard_True 
)
static
static void DDocStd::MTMCommands ( Draw_Interpretor theCommands)
static

Create, Add, Remove, Open, Commit, Undo, Redo, SetNestedMode.

static Draw_Interpretor& DDocStd::ReturnLabel ( Draw_Interpretor theCommands,
const TDF_Label L 
)
static
static void DDocStd::ToolsCommands ( Draw_Interpretor theCommands)
static

Modified, Update.


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