SelfEraser erases creation command if no more it's commands invoked. More...
#include <SMESH_2smeshpy.hxx>
Public Member Functions | |
_pySelfEraser (const Handle(_pyCommand)&theCreationCmd) | |
SelfEraser erases creation command if none of it's commands invoked (e.g. More... | |
void | IgnoreOwnCalls () |
virtual void | Flush () |
SelfEraser erases creation command if none of it's commands invoked (e.g. More... | |
virtual bool | CanClear () |
SelfEraser erases creation command if none of it's commands invoked (e.g. More... | |
const | Handle (_pyCommand)&GetCreationCmd() |
const _pyID & | GetID () |
int | GetNbCalls () const |
bool | IsInStudy () const |
virtual void | SetRemovedFromStudy (const bool isRemoved) |
void | SetCreationCmd (Handle(_pyCommand) cmd) |
int | GetCommandNb () |
void | AddProcessedCmd (const Handle(_pyCommand)&cmd) |
std::list< Handle(_pyCommand) > & | GetProcessedCmds () |
void | AddArgCmd (const Handle(_pyCommand)&cmd) |
virtual void | Process (const Handle(_pyCommand)&cmd) |
virtual const char * | AccessorMethod () const |
Return method name giving access to an interaface object wrapped by python class. More... | |
virtual void | ClearCommands () |
Clear myCreationCmd and myProcessedCmds. More... | |
virtual void | Free () |
Static Public Member Functions | |
static bool | IsAliveCmd (const Handle(_pyCommand)&theCmd) |
Check if a command is or can be cleared. More... | |
static _pyID | FatherID (const _pyID &childID) |
Return ID of a father. More... | |
Protected Member Functions | |
Handle (_pyCommand) myCreationCmd | |
void | setID (const _pyID &theID) |
Set up myID and myIsPublished. More... | |
Protected Attributes | |
_pyID | myID |
std::list< Handle(_pyCommand) > | myProcessedCmds |
std::list< Handle(_pyCommand) > | myArgCmds |
bool | myIsPublished |
Private Attributes | |
bool | myIgnoreOwnCalls |
SelfEraser erases creation command if no more it's commands invoked.
_pySelfEraser::_pySelfEraser | ( | const Handle(_pyCommand)& | theCreationCmd | ) |
SelfEraser erases creation command if none of it's commands invoked (e.g.
filterManager) or it's not used as a command argument (e.g. a filter)
References _pyObject::GetID(), _pyGen::KeepAgrCmds(), and _pyObject::myIsPublished.
|
virtualinherited |
Return method name giving access to an interaface object wrapped by python class.
const | char* - method name |
Reimplemented in _pyAlgorithm, _pyMesh, and _pyGen.
|
inherited |
References _pyObject::myArgCmds.
|
inherited |
References _pyObject::myProcessedCmds.
Referenced by _pyObject::Process().
|
virtual |
SelfEraser erases creation command if none of it's commands invoked (e.g.
filterManager) or it's not used as a command argument (e.g. a filter)
Reimplemented from _pyObject.
References _pyObject::GetID(), _pyObject::GetProcessedCmds(), IsAliveCmd(), _pyObject::myArgCmds, and myIgnoreOwnCalls.
Referenced by Flush().
|
virtualinherited |
Clear myCreationCmd and myProcessedCmds.
Reimplemented in _pyHypothesis, _pyMesh, and _pyGen.
References _pyObject::CanClear(), and _pyObject::myProcessedCmds.
Referenced by _pyMesh::ClearCommands(), _pyHypothesis::ClearCommands(), and Flush().
Return ID of a father.
Referenced by _pySegmentLengthAroundVertexHyp::Addition2Creation().
|
virtual |
SelfEraser erases creation command if none of it's commands invoked (e.g.
filterManager) or it's not used as a command argument (e.g. a filter)
Implements _pyObject.
References CanClear(), _pyObject::ClearCommands(), and _pyObject::myIsPublished.
|
virtualinherited |
Reimplemented in _pyGroup, _pySubMesh, _pyLayerDistributionHypo, _pyHypothesis, _pyMesh, and _pyGen.
|
inherited |
|
inherited |
References _pyCommand::GetResultValue(), and _pyObject::myID.
Referenced by _pyFilter::_pyFilter(), _pyMesh::_pyMesh(), _pySelfEraser(), _pySubMesh::_pySubMesh(), _pyMesh::addFatherMesh(), _pyHypothesis::Addition2Creation(), _pyAlgorithm::Addition2Creation(), _pyLayerDistributionHypo::Addition2Creation(), _pyGen::AddObject(), CanClear(), _pyGroup::CanClear(), _pyGen::CheckObjectIsReCreated(), _pyMesh::Flush(), _pyFilter::Flush(), _pyFilter::Process(), and _pyObject::setID().
|
inherited |
References _pyObject::myProcessedCmds.
Referenced by _pySubMesh::Flush(), and _pyFilter::Process().
|
inherited |
References _pyObject::myProcessedCmds.
Referenced by CanClear().
|
protectedinherited |
Referenced by _pyMeshEditor::_pyMeshEditor(), _pyObject::CanClear(), _pyMeshEditor::CanClear(), and IsAliveCmd().
|
inherited |
void _pySelfEraser::IgnoreOwnCalls | ( | ) |
|
static |
Check if a command is or can be cleared.
References _pyObject::CanClear(), _pyCommand::GetObject(), _pyObject::Handle(), _pyCommand::IsEmpty(), and _pyGen::IsToKeepAllCommands().
Referenced by CanClear().
|
inherited |
|
virtualinherited |
Reimplemented in _pyGroup, _pyFilter, _pySubMesh, _pyLayerDistributionHypo, _pyComplexParamHypo, _pyHypothesis, _pyMeshEditor, _pyMesh, and _pyGen.
References _pyObject::AddProcessedCmd().
Referenced by _pySubMesh::Process(), and _pyFilter::Process().
|
inherited |
Referenced by _pyHypothesis::Addition2Creation().
|
protectedinherited |
Set up myID and myIsPublished.
References _pyObject::GetID(), _pyGen::IsNotPublished(), _pyObject::myID, and _pyObject::myIsPublished.
Referenced by _pyGroup::_pyGroup(), and _pyObject::_pyObject().
|
virtualinherited |
Reimplemented in _pyMesh.
References _pyObject::myIsPublished.
Referenced by _pyMesh::SetRemovedFromStudy().
|
protectedinherited |
Referenced by _pyObject::AddArgCmd(), _pyObject::CanClear(), CanClear(), _pySubMesh::Flush(), and _pyFilter::Flush().
|
protectedinherited |
Referenced by _pyObject::GetID(), and _pyObject::setID().
|
private |
Referenced by CanClear().
|
protectedinherited |
Referenced by _pySelfEraser(), _pyObject::CanClear(), Flush(), _pyObject::IsInStudy(), _pyObject::setID(), and _pyObject::SetRemovedFromStudy().
|
protectedinherited |