|
Open CASCADE Technology 6.5.2
|
Interface class for usage of Function Mechanism
#include <TFunction_IFunction.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| TFunction_IFunction () | |
| TFunction_IFunction (const TDF_Label &L) | |
| A constructor. Initializes the interface by the label of function. | |
| void | Init (const TDF_Label &L) |
| Initializes the interface by the label of function. | |
| const TDF_Label & | Label () const |
| Returns a label of the function. | |
| Standard_Boolean | UpdateDependencies () const |
| Updates the dependencies of this function only. | |
| void | Arguments (TDF_LabelList &args) const |
| The method fills-in the list by labels, where the arguments of the function are located. | |
| void | Results (TDF_LabelList &res) const |
| The method fills-in the list by labels, where the results of the function are located. | |
| void | GetPrevious (TDF_LabelList &prev) const |
| Returns a list of previous functions. | |
| void | GetNext (TDF_LabelList &prev) const |
| Returns a list of next functions. | |
| TFunction_ExecutionStatus | GetStatus () const |
| Returns the execution status of the function. | |
| void | SetStatus (const TFunction_ExecutionStatus status) const |
| Defines an execution status for a function. | |
| const TFunction_DoubleMapOfIntegerLabel & | GetAllFunctions () const |
| Returns the scope of all functions. | |
| TFunction_Logbook & | GetLogbook () const |
| Returns the Logbook - keeper of modifications. | |
| Handle_TFunction_Driver | GetDriver (const Standard_Integer thread=0) const |
| Returns a driver of the function. | |
| Handle_TFunction_GraphNode | GetGraphNode () const |
| Returns a graph node of the function. | |
Static Public Member Functions | |
| static Standard_Boolean | NewFunction (const TDF_Label &L, const Standard_GUID &ID) |
| Sets a new function attached to a label <L> with <ID>. It creates a new TFunction_Function attribute initialized by the <ID>, a new TFunction_GraphNode with an empty list of dependencies and the status equal to TFunction_ES_WrongDefinition. It registers the function in the scope of functions for this document. | |
| static Standard_Boolean | DeleteFunction (const TDF_Label &L) |
| Deletes a function attached to a label <L>. It deletes a TFunction_Function attribute and a TFunction_GraphNode. It deletes the functions from the scope of function of this document. | |
| static Standard_Boolean | UpdateDependencies (const TDF_Label &Access) |
| Updates dependencies for all functions of the scope. It returns false in case of an error. //! An empty constructor. | |
| TFunction_IFunction::TFunction_IFunction | ( | ) |
| TFunction_IFunction::TFunction_IFunction | ( | const TDF_Label & | L | ) |
| void TFunction_IFunction::Arguments | ( | TDF_LabelList & | args | ) | const |
| static Standard_Boolean TFunction_IFunction::DeleteFunction | ( | const TDF_Label & | L | ) | [static] |
| const TFunction_DoubleMapOfIntegerLabel& TFunction_IFunction::GetAllFunctions | ( | ) | const |
| Handle_TFunction_Driver TFunction_IFunction::GetDriver | ( | const Standard_Integer | thread = 0 | ) | const |
| Handle_TFunction_GraphNode TFunction_IFunction::GetGraphNode | ( | ) | const |
| TFunction_Logbook& TFunction_IFunction::GetLogbook | ( | ) | const |
| void TFunction_IFunction::GetNext | ( | TDF_LabelList & | prev | ) | const |
| void TFunction_IFunction::GetPrevious | ( | TDF_LabelList & | prev | ) | const |
| TFunction_ExecutionStatus TFunction_IFunction::GetStatus | ( | ) | const |
| void TFunction_IFunction::Init | ( | const TDF_Label & | L | ) |
| const TDF_Label& TFunction_IFunction::Label | ( | ) | const |
| static Standard_Boolean TFunction_IFunction::NewFunction | ( | const TDF_Label & | L, |
| const Standard_GUID & | ID | ||
| ) | [static] |
| void TFunction_IFunction::operator delete | ( | void * | anAddress | ) | [inline] |
| void* TFunction_IFunction::operator new | ( | size_t | size | ) | [inline] |
| void* TFunction_IFunction::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| void TFunction_IFunction::Results | ( | TDF_LabelList & | res | ) | const |
| void TFunction_IFunction::SetStatus | ( | const TFunction_ExecutionStatus | status | ) | const |
| static Standard_Boolean TFunction_IFunction::UpdateDependencies | ( | const TDF_Label & | Access | ) | [static] |
| Standard_Boolean TFunction_IFunction::UpdateDependencies | ( | ) | const |
1.7.4