mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
PAL10494. Add .._STANDARD_RTTI_... in order to build executable
This commit is contained in:
parent
deb5f024f2
commit
7ba3124c8a
@ -18,6 +18,15 @@ IMPLEMENT_STANDARD_HANDLE (_pyAlgorithm ,_pyHypothesis);
|
|||||||
IMPLEMENT_STANDARD_HANDLE (_pyComplexParamHypo,_pyHypothesis);
|
IMPLEMENT_STANDARD_HANDLE (_pyComplexParamHypo,_pyHypothesis);
|
||||||
IMPLEMENT_STANDARD_HANDLE (_pyNumberOfSegmentsHyp,_pyHypothesis);
|
IMPLEMENT_STANDARD_HANDLE (_pyNumberOfSegmentsHyp,_pyHypothesis);
|
||||||
|
|
||||||
|
IMPLEMENT_STANDARD_RTTIEXT(_pyObject ,Standard_Transient);
|
||||||
|
IMPLEMENT_STANDARD_RTTIEXT(_pyCommand ,Standard_Transient);
|
||||||
|
IMPLEMENT_STANDARD_RTTIEXT(_pyGen ,_pyObject);
|
||||||
|
IMPLEMENT_STANDARD_RTTIEXT(_pyMesh ,_pyObject);
|
||||||
|
IMPLEMENT_STANDARD_RTTIEXT(_pyHypothesis ,_pyObject);
|
||||||
|
IMPLEMENT_STANDARD_RTTIEXT(_pyAlgorithm ,_pyHypothesis);
|
||||||
|
IMPLEMENT_STANDARD_RTTIEXT(_pyComplexParamHypo,_pyHypothesis);
|
||||||
|
IMPLEMENT_STANDARD_RTTIEXT(_pyNumberOfSegmentsHyp,_pyHypothesis);
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using SMESH::TPythonDump;
|
using SMESH::TPythonDump;
|
||||||
|
|
||||||
|
@ -116,6 +116,7 @@ public:
|
|||||||
static TCollection_AsciiString GetWord( const TCollection_AsciiString & theSring,
|
static TCollection_AsciiString GetWord( const TCollection_AsciiString & theSring,
|
||||||
int & theStartPos, const bool theForward,
|
int & theStartPos, const bool theForward,
|
||||||
const bool dotIsWord = false);
|
const bool dotIsWord = false);
|
||||||
|
DEFINE_STANDARD_RTTI (_pyCommand)
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@ -133,6 +134,8 @@ public:
|
|||||||
int GetCommandNb() { return myCreationCmd->GetOrderNb(); }
|
int GetCommandNb() { return myCreationCmd->GetOrderNb(); }
|
||||||
virtual void Process(const Handle(_pyCommand) & theCommand) = 0;
|
virtual void Process(const Handle(_pyCommand) & theCommand) = 0;
|
||||||
virtual void Flush() = 0;
|
virtual void Flush() = 0;
|
||||||
|
|
||||||
|
DEFINE_STANDARD_RTTI (_pyObject)
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@ -160,6 +163,8 @@ private:
|
|||||||
std::list< Handle(_pyCommand) > myCommands;
|
std::list< Handle(_pyCommand) > myCommands;
|
||||||
int myNbCommands;
|
int myNbCommands;
|
||||||
Resource_DataMapOfAsciiStringAsciiString& myID2AccessorMethod;
|
Resource_DataMapOfAsciiStringAsciiString& myID2AccessorMethod;
|
||||||
|
|
||||||
|
DEFINE_STANDARD_RTTI (_pyGen)
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@ -177,6 +182,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
static void AddMeshAccess( const Handle(_pyCommand)& theCommand )
|
static void AddMeshAccess( const Handle(_pyCommand)& theCommand )
|
||||||
{ theCommand->SetObject( theCommand->GetObject() + ".GetMesh()" ); }
|
{ theCommand->SetObject( theCommand->GetObject() + ".GetMesh()" ); }
|
||||||
|
|
||||||
|
DEFINE_STANDARD_RTTI (_pyMesh)
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@ -211,6 +218,8 @@ public:
|
|||||||
// void SetGeom( const _pyID& theGeomID ) { myGeom = theGeomID; }
|
// void SetGeom( const _pyID& theGeomID ) { myGeom = theGeomID; }
|
||||||
void Process( const Handle(_pyCommand)& theCommand);
|
void Process( const Handle(_pyCommand)& theCommand);
|
||||||
void Flush();
|
void Flush();
|
||||||
|
|
||||||
|
DEFINE_STANDARD_RTTI (_pyHypothesis)
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@ -221,6 +230,8 @@ class _pyComplexParamHypo: public _pyHypothesis
|
|||||||
public:
|
public:
|
||||||
_pyComplexParamHypo(const Handle(_pyCommand)& theCreationCmd): _pyHypothesis(theCreationCmd) {}
|
_pyComplexParamHypo(const Handle(_pyCommand)& theCreationCmd): _pyHypothesis(theCreationCmd) {}
|
||||||
void Process( const Handle(_pyCommand)& theCommand);
|
void Process( const Handle(_pyCommand)& theCommand);
|
||||||
|
|
||||||
|
DEFINE_STANDARD_RTTI (_pyComplexParamHypo)
|
||||||
};
|
};
|
||||||
DEFINE_STANDARD_HANDLE (_pyComplexParamHypo, _pyHypothesis);
|
DEFINE_STANDARD_HANDLE (_pyComplexParamHypo, _pyHypothesis);
|
||||||
|
|
||||||
@ -234,6 +245,8 @@ public:
|
|||||||
_pyNumberOfSegmentsHyp(const Handle(_pyCommand)& theCrCmd): _pyHypothesis(theCrCmd) {}
|
_pyNumberOfSegmentsHyp(const Handle(_pyCommand)& theCrCmd): _pyHypothesis(theCrCmd) {}
|
||||||
virtual bool Addition2Creation( const Handle(_pyCommand)& theAdditionCmd,
|
virtual bool Addition2Creation( const Handle(_pyCommand)& theAdditionCmd,
|
||||||
const _pyID& theMesh);
|
const _pyID& theMesh);
|
||||||
|
|
||||||
|
DEFINE_STANDARD_RTTI (_pyNumberOfSegmentsHyp)
|
||||||
};
|
};
|
||||||
DEFINE_STANDARD_HANDLE (_pyNumberOfSegmentsHyp, _pyHypothesis);
|
DEFINE_STANDARD_HANDLE (_pyNumberOfSegmentsHyp, _pyHypothesis);
|
||||||
|
|
||||||
@ -246,6 +259,8 @@ public:
|
|||||||
_pyAlgorithm(const Handle(_pyCommand)& theCreationCmd);
|
_pyAlgorithm(const Handle(_pyCommand)& theCreationCmd);
|
||||||
virtual bool Addition2Creation( const Handle(_pyCommand)& theAdditionCmd,
|
virtual bool Addition2Creation( const Handle(_pyCommand)& theAdditionCmd,
|
||||||
const _pyID& theMesh);
|
const _pyID& theMesh);
|
||||||
|
|
||||||
|
DEFINE_STANDARD_RTTI (_pyAlgorithm)
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user