PAL13639 (EDF PAL 317 : SMESH : Create "0D Hypothesis")

add _pyObject::FatherID(const _pyID & childID)
This commit is contained in:
eap 2007-02-20 06:58:56 +00:00
parent 03b8a7d78f
commit cd229cc422

View 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(); }