Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

Draw_Interpretor Class Reference

#include <Draw_Interpretor.hxx>

List of all members.


Detailed Description

Provides an encapsulation of the TCL interpretor
to define Draw commands.

Definition at line 57 of file Draw_Interpretor.hxx.


Public Member Functions

Standard_EXPORT void Add (const Standard_CString Command, const Standard_CString Help, const Standard_CString FileName, const Draw_CommandFunction Function, const Standard_CString Group="User Commands")
Standard_EXPORT void Add (const Standard_CString Command, const Standard_CString Help, const Draw_CommandFunction Function, const Standard_CString Group="User Commands")
Standard_EXPORT void Add (const Standard_CString Command, const Standard_CString Help, const Standard_CString FileName, const Draw_CommandFunction Function, const Standard_CString Group="User Commands")
Standard_EXPORT void Add (const Standard_CString Command, const Standard_CString Help, const Draw_CommandFunction Function, const Standard_CString Group="User Commands")
Standard_EXPORT void Add (const Standard_CString Command, const Standard_CString Help, const Standard_CString FileName, const Draw_CommandFunction Function, const Standard_CString Group="User Commands")
Standard_EXPORT void Add (const Standard_CString Command, const Standard_CString Help, const Draw_CommandFunction Function, const Standard_CString Group="User Commands")
Standard_EXPORT Draw_InterpretorAppend (const Standard_Real Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const Standard_Integer Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const TCollection_ExtendedString &Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const TCollection_AsciiString &Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const Standard_CString Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const Standard_Real Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const Standard_Integer Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const TCollection_ExtendedString &Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const TCollection_AsciiString &Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const Standard_CString Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const Standard_Real Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const Standard_Integer Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const TCollection_ExtendedString &Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const TCollection_AsciiString &Result)
 Appends to the result
.
Standard_EXPORT Draw_InterpretorAppend (const Standard_CString Result)
 Appends to the result
.
Standard_EXPORT void AppendElement (Standard_CString Result)
 Appends to the result the string as a list element
.
Standard_EXPORT void AppendElement (Standard_CString Result)
 Appends to the result the string as a list element
.
Standard_EXPORT void AppendElement (Standard_CString Result)
 Appends to the result the string as a list element
.
Standard_EXPORT void Destroy ()
Standard_EXPORT void Destroy ()
Standard_EXPORT void Destroy ()
Standard_EXPORT Draw_Interpretor (const Draw_PInterp &anInterp)
Standard_EXPORT Draw_Interpretor (const Draw_PInterp &anInterp)
Standard_EXPORT Draw_Interpretor (const Draw_PInterp &anInterp)
Standard_EXPORT Standard_Integer Eval (const Standard_CString Script)
 Eval the script and returns OK = 0, ERROR = 1
.
Standard_EXPORT Standard_Integer Eval (const Standard_CString Script)
 Eval the script and returns OK = 0, ERROR = 1
.
Standard_EXPORT Standard_Integer Eval (const Standard_CString Script)
 Eval the script and returns OK = 0, ERROR = 1
.
Standard_EXPORT Standard_Integer EvalFile (const Standard_CString FileName)
 Eval the content on the file and returns status
.
Standard_EXPORT Standard_Integer EvalFile (const Standard_CString FileName)
 Eval the content on the file and returns status
.
Standard_EXPORT Standard_Integer EvalFile (const Standard_CString FileName)
 Eval the content on the file and returns status
.
Standard_EXPORT void Init ()
Standard_EXPORT void Init ()
Standard_EXPORT void Init ()
Standard_EXPORT Draw_PInterp Interp () const
Standard_EXPORT Draw_PInterp Interp () const
Standard_EXPORT Draw_PInterp Interp () const
Draw_Interpretoroperator<< (const Standard_Real Result)
Draw_Interpretoroperator<< (const Standard_Integer Result)
Draw_Interpretoroperator<< (const TCollection_ExtendedString &Result)
Draw_Interpretoroperator<< (const TCollection_AsciiString &Result)
Draw_Interpretoroperator<< (const Standard_CString Result)
Draw_Interpretoroperator<< (const Standard_Real Result)
Draw_Interpretoroperator<< (const Standard_Integer Result)
Draw_Interpretoroperator<< (const TCollection_ExtendedString &Result)
Draw_Interpretoroperator<< (const TCollection_AsciiString &Result)
Draw_Interpretoroperator<< (const Standard_CString Result)
Draw_Interpretoroperator<< (const Standard_Real Result)
Draw_Interpretoroperator<< (const Standard_Integer Result)
Draw_Interpretoroperator<< (const TCollection_ExtendedString &Result)
Draw_Interpretoroperator<< (const TCollection_AsciiString &Result)
Draw_Interpretoroperator<< (const Standard_CString Result)
Standard_EXPORT Standard_Integer RecordAndEval (const Standard_CString Script, const Standard_Integer Flags=0)
Standard_EXPORT Standard_Integer RecordAndEval (const Standard_CString Script, const Standard_Integer Flags=0)
Standard_EXPORT Standard_Integer RecordAndEval (const Standard_CString Script, const Standard_Integer Flags=0)
Standard_EXPORT Standard_Boolean Remove (const Standard_CString Command)
Standard_EXPORT Standard_Boolean Remove (const Standard_CString Command)
Standard_EXPORT Standard_Boolean Remove (const Standard_CString Command)
Standard_EXPORT void Reset ()
 Resets the result to empty string
.
Standard_EXPORT void Reset ()
 Resets the result to empty string
.
Standard_EXPORT void Reset ()
 Resets the result to empty string
.
Standard_EXPORT Standard_CString Result () const
Standard_EXPORT Standard_CString Result () const
Standard_EXPORT Standard_CString Result () const
Standard_EXPORT void Set (const Draw_PInterp &anInterp)
Standard_EXPORT void Set (const Draw_PInterp &anInterp)
Standard_EXPORT void Set (const Draw_PInterp &anInterp)

Static Public Member Functions

static Standard_EXPORT
Standard_Boolean 
Complete (const Standard_CString Script)
static Standard_EXPORT
Standard_Boolean 
Complete (const Standard_CString Script)
static Standard_EXPORT
Standard_Boolean 
Complete (const Standard_CString Script)

Private Attributes

Standard_Boolean isAllocated
Draw_PInterp myInterp

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

Generated by  Doxygen 1.6.0   Back to index