Root of all objects. More...
#include <SMESH_2smeshpy.hxx>

Public Member Functions | |
| _pyObject (const Handle(_pyCommand)&theCreationCmd) | |
| const _pyID & | GetID () |
| const | Handle (_pyCommand)&GetCreationCmd() |
| int | GetNbCalls () const |
| void | SetCreationCmd (Handle(_pyCommand) cmd) |
| int | GetCommandNb () |
| virtual void | Process (const Handle(_pyCommand)&theCommand) |
| virtual void | Flush ()=0 |
| virtual const char * | AccessorMethod () const |
| Return method name giving access to an interaface object wrapped by python class. | |
Static Public Member Functions | |
| static _pyID | FatherID (const _pyID &childID) |
| Return ID of a father. | |
Private Member Functions | |
| Handle (_pyCommand) myCreationCmd | |
Private Attributes | |
| int | myNbCalls |
Root of all objects.
It counts calls of Process()
Definition at line 155 of file SMESH_2smeshpy.hxx.
| _pyObject._pyObject | ( | const Handle(_pyCommand)& | theCreationCmd | ) |
Definition at line 160 of file SMESH_2smeshpy.hxx.
: myCreationCmd(theCreationCmd), myNbCalls(0) {}
| const char * _pyObject::AccessorMethod | ( | ) | const [virtual] |
Return method name giving access to an interaface object wrapped by python class.
| const | char* - method name |
Reimplemented in _pyGen, _pyMesh, and _pyAlgorithm.
Definition at line 2484 of file SMESH_2smeshpy.cxx.
{
return 0;
}
Return ID of a father.
Definition at line 2494 of file SMESH_2smeshpy.cxx.
Referenced by _pySegmentLengthAroundVertexHyp.Addition2Creation().
{
int colPos = childID.SearchFromEnd(':');
if ( colPos > 0 )
return childID.SubString( 1, colPos-1 );
return "";
}
| virtual void _pyObject.Flush | ( | ) | [pure virtual] |
Implemented in _pyGen, _pyMesh, _pyMeshEditor, _pyHypothesis, _pyComplexParamHypo, _pyLayerDistributionHypo, _pyNumberOfSegmentsHyp, _pySelfEraser, and _pySubMesh.
| int _pyObject.GetCommandNb | ( | ) |
Definition at line 167 of file SMESH_2smeshpy.hxx.
{ return myCreationCmd->GetOrderNb(); }
| const _pyID& _pyObject.GetID | ( | ) |
Definition at line 162 of file SMESH_2smeshpy.hxx.
Referenced by _pyMesh._pyMesh(), _pyAlgorithm.Addition2Creation(), _pyLayerDistributionHypo.Addition2Creation(), _pyHypothesis.Addition2Creation(), and _pyMesh.Flush().
{ return myCreationCmd->GetResultValue(); }
| int _pyObject.GetNbCalls | ( | ) | const |
Definition at line 165 of file SMESH_2smeshpy.hxx.
References myNbCalls.
Referenced by _pySubMesh.Flush(), and _pySelfEraser.Flush().
{ return myNbCalls; }
| _pyObject.Handle | ( | _pyCommand | ) | [private] |
Reimplemented in _pyGen, and _pyGen.
Referenced by _pyMesh._pyMesh(), _pyMesh.Flush(), _pyMeshEditor.Process(), and _pyMesh.Process().
| const _pyObject.Handle | ( | _pyCommand | ) |
Reimplemented in _pyGen, and _pyGen.
Definition at line 164 of file SMESH_2smeshpy.hxx.
{ return myCreationCmd; }
| virtual void _pyObject.Process | ( | const Handle(_pyCommand)& | theCommand | ) | [virtual] |
Reimplemented in _pyGen, _pyMesh, _pyMeshEditor, _pyHypothesis, _pyComplexParamHypo, _pyLayerDistributionHypo, and _pySubMesh.
Definition at line 168 of file SMESH_2smeshpy.hxx.
References myNbCalls.
{ myNbCalls++; }
| void _pyObject.SetCreationCmd | ( | Handle(_pyCommand) | cmd | ) |
Definition at line 166 of file SMESH_2smeshpy.hxx.
Referenced by _pyHypothesis.Addition2Creation().
{ myCreationCmd = cmd; }
int _pyObject.myNbCalls [private] |
Definition at line 158 of file SMESH_2smeshpy.hxx.
Referenced by GetNbCalls(), and Process().