]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL13639 (EDF PAL 317 : SMESH : Create "0D Hypothesis")
authoreap <eap@opencascade.com>
Tue, 20 Feb 2007 06:58:56 +0000 (06:58 +0000)
committereap <eap@opencascade.com>
Tue, 20 Feb 2007 06:58:56 +0000 (06:58 +0000)
   add _pyObject::FatherID(const _pyID & childID)

src/SMESH_I/SMESH_2smeshpy.hxx

index 7d49bc614e33a1bdbf11b98d518a6cfcdce55c25..2f1bc027c5abed7015147b8c1b17f7433ea06565 100644 (file)
@@ -171,6 +171,7 @@ class _pyObject: public Standard_Transient
 public:
   _pyObject(const Handle(_pyCommand)& theCreationCmd): myCreationCmd(theCreationCmd) {}
   const _pyID& GetID() { return myCreationCmd->GetResultValue(); }
+  static _pyID FatherID(const _pyID & childID);
   const Handle(_pyCommand)& GetCreationCmd() { return myCreationCmd; }
   void  SetCreationCmd( Handle(_pyCommand) cmd ) { myCreationCmd = cmd; }
   int GetCommandNb() { return myCreationCmd->GetOrderNb(); }