A filter sets a human readable name to self. More...
#include <SMESH_2smeshpy.hxx>

Public Member Functions | |
| _pyFilter (const Handle(_pyCommand)&theCreationCmd, const _pyID &newID="") | |
| Constructor of _pyFilter. More... | |
| virtual void | Process (const Handle(_pyCommand)&theCommand) |
| To convert creation of a filter by criteria and to replace an old name by a new one. More... | |
| virtual void | Flush () |
| Set new filter name to the creation command and to myArgCmds. More... | |
| const _pyID & | GetNewID () const |
| 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 const char * | AccessorMethod () const |
| Return method name giving access to an interaface object wrapped by python class. More... | |
| virtual bool | CanClear () |
| Return true if all my users can be cleared. More... | |
| virtual void | ClearCommands () |
| Clear myCreationCmd and myProcessedCmds. More... | |
| virtual void | Free () |
Static Public Member Functions | |
| 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 | |
| _pyID | myNewID |
| _pyID | myMesh |
A filter sets a human readable name to self.
| _pyFilter::_pyFilter | ( | const Handle(_pyCommand)& | theCreationCmd, |
| const _pyID & | newID = "" |
||
| ) |
Constructor of _pyFilter.
References _pyObject::GetID(), and _pyGen::KeepAgrCmds().
|
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().
|
virtualinherited |
Return true if all my users can be cleared.
Reimplemented in _pyGroup, _pySelfEraser, _pyHypothesis, _pyMeshEditor, and _pyMesh.
References _pyObject::Handle(), _pyObject::myArgCmds, and _pyObject::myIsPublished.
Referenced by _pyObject::ClearCommands(), and _pySelfEraser::IsAliveCmd().
|
virtualinherited |
Clear myCreationCmd and myProcessedCmds.
Reimplemented in _pyHypothesis, _pyMesh, and _pyGen.
References _pyObject::CanClear(), and _pyObject::myProcessedCmds.
Referenced by _pyMesh::ClearCommands(), _pyHypothesis::ClearCommands(), and _pySelfEraser::Flush().
Return ID of a father.
Referenced by _pySegmentLengthAroundVertexHyp::Addition2Creation().
|
virtual |
Set new filter name to the creation command and to myArgCmds.
Implements _pyObject.
References _pyObject::GetID(), _pyObject::myArgCmds, and myNewID.
|
virtualinherited |
Reimplemented in _pyGroup, _pySubMesh, _pyLayerDistributionHypo, _pyHypothesis, _pyMesh, and _pyGen.
|
inherited |
|
inherited |
References _pyCommand::GetResultValue(), and _pyObject::myID.
Referenced by _pyFilter(), _pyMesh::_pyMesh(), _pySelfEraser::_pySelfEraser(), _pySubMesh::_pySubMesh(), _pyMesh::addFatherMesh(), _pyHypothesis::Addition2Creation(), _pyAlgorithm::Addition2Creation(), _pyLayerDistributionHypo::Addition2Creation(), _pyGen::AddObject(), _pySelfEraser::CanClear(), _pyGroup::CanClear(), _pyGen::CheckObjectIsReCreated(), _pyMesh::Flush(), Flush(), Process(), and _pyObject::setID().
|
inherited |
References _pyObject::myProcessedCmds.
Referenced by _pySubMesh::Flush(), and Process().
| const _pyID& _pyFilter::GetNewID | ( | ) | const |
|
inherited |
References _pyObject::myProcessedCmds.
Referenced by _pySelfEraser::CanClear().
|
protectedinherited |
|
inherited |
|
inherited |
|
virtual |
To convert creation of a filter by criteria and to replace an old name by a new one.
Reimplemented from _pyObject.
References _pyCommand::AddDependantCmd(), _pyGen::AddMeshAccessorMethod(), _pyCommand::Clear(), SMESH_2smeshpy::GenName(), _pyCommand::GetArg(), _pyObject::GetID(), _pyCommand::GetMethod(), _pyObject::GetNbCalls(), _pyCommand::GetObject(), _pyCommand::GetString(), myMesh, myNewID, _pyObject::Process(), _pyCommand::SetMethod(), _pyCommand::SetObject(), and _pyCommand::SetResultValue().
|
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(), _pySelfEraser::CanClear(), _pySubMesh::Flush(), and Flush().
|
protectedinherited |
Referenced by _pyObject::GetID(), and _pyObject::setID().
|
protectedinherited |
|
protectedinherited |