_pyAlgorithm Class Reference

Class representing smesh.Mesh_Algorithm.

#include <SMESH_2smeshpy.hxx>

Inheritance diagram for _pyAlgorithm:

Inheritance graph

Public Member Functions

 _pyAlgorithm (const Handle(_pyCommand)&theCreationCmd)
 _pyAlgorithm constructor
virtual bool Addition2Creation (const Handle(_pyCommand)&theAdditionCmd, const _pyID &theMesh)
const char * AccessorMethod () const
 Return method name giving access to an interaface object wrapped by python class.
virtual bool IsAlgo () const
bool IsWrapped () const
boolIsConverted ()
int GetDim () const
const _pyIDGetGeom () const
void SetMesh (const _pyID &theMeshId)
const _pyIDGetMesh () const
const TCollection_AsciiString GetType ()
bool IsWrappable (const _pyID &theMesh)
const Handle (_pyCommand)&GetCreationCmd()
void Process (const Handle(_pyCommand)&theCommand)
 Remember hypothesis parameter values.
void Flush ()
 Finish conversion.
const _pyIDGetID ()
void SetCreationCmd (Handle(_pyCommand) cmd)
int GetCommandNb ()

Static Public Member Functions

static Handle (_pyHypothesis) NewHypothesis(const Handle(_pyCommand)&theCreationCmd)

Protected Attributes

bool myIsAlgo
bool myIsWrapped
bool myIsConverted
int myDim
int myAdditionCmdNb
_pyID myGeom
_pyID myMesh
TCollection_AsciiString myCreationMethod
TCollection_AsciiString myType
TColStd_SequenceOfAsciiString myArgs
TColStd_SequenceOfAsciiString myArgMethods
std::list< Handle(_pyCommand)> myArgCommands
std::list< Handle(_pyCommand)> myUnknownCommands

Constructor & Destructor Documentation

_pyAlgorithm::_pyAlgorithm const Handle(_pyCommand)&  theCreationCmd  ) 
 

Parameters:
theCreationCmd - The command like "algo = smeshgen.CreateHypothesis(type,lib)"


Member Function Documentation

virtual bool _pyAlgorithm.Addition2Creation const Handle(_pyCommand)&  theAdditionCmd,
const _pyID theMesh
[virtual]
 

Reimplemented from _pyHypothesis.

const char* _pyAlgorithm.AccessorMethod  )  const [virtual]
 

Return values:
const char* - method name

Reimplemented from _pyObject.

virtual bool _pyHypothesis.IsAlgo  )  const [virtual, inherited]
 

bool _pyHypothesis.IsWrapped  )  const [inherited]
 

bool& _pyHypothesis.IsConverted  )  [inherited]
 

int _pyHypothesis.GetDim  )  const [inherited]
 

const _pyID& _pyHypothesis.GetGeom  )  const [inherited]
 

void _pyHypothesis.SetMesh const _pyID theMeshId  )  [inherited]
 

const _pyID& _pyHypothesis.GetMesh  )  const [inherited]
 

const TCollection_AsciiString _pyHypothesis.GetType  )  [inherited]
 

bool _pyHypothesis.IsWrappable const _pyID theMesh  )  [inherited]
 

static _pyHypothesis.Handle _pyHypothesis   )  const [static, inherited]
 

const _pyObject.Handle _pyCommand   )  [inherited]
 

void _pyHypothesis::Process const Handle(_pyCommand)&  theCommand  )  [virtual, inherited]
 

Parameters:
theCommand - The called hypothesis method

Implements _pyObject.

Reimplemented in _pyComplexParamHypo.

void _pyHypothesis::Flush  )  [virtual, inherited]
 

Implements _pyObject.

Reimplemented in _pyNumberOfSegmentsHyp.

const _pyID& _pyObject.GetID  )  [inherited]
 

void _pyObject.SetCreationCmd Handle(_pyCommand cmd  )  [inherited]
 

int _pyObject.GetCommandNb  )  [inherited]
 


Field Documentation

bool _pyHypothesis.myIsAlgo [protected, inherited]
 

bool _pyHypothesis.myIsWrapped [protected, inherited]
 

bool _pyHypothesis.myIsConverted [protected, inherited]
 

int _pyHypothesis.myDim [protected, inherited]
 

int _pyHypothesis.myAdditionCmdNb [protected, inherited]
 

_pyID _pyHypothesis.myGeom [protected, inherited]
 

_pyID _pyHypothesis.myMesh [protected, inherited]
 

TCollection_AsciiString _pyHypothesis.myCreationMethod [protected, inherited]
 

TCollection_AsciiString _pyHypothesis.myType [protected, inherited]
 

TColStd_SequenceOfAsciiString _pyHypothesis.myArgs [protected, inherited]
 

TColStd_SequenceOfAsciiString _pyHypothesis.myArgMethods [protected, inherited]
 

std::list<Handle(_pyCommand)> _pyHypothesis.myArgCommands [protected, inherited]
 

std::list<Handle(_pyCommand)> _pyHypothesis.myUnknownCommands [protected, inherited]