From: akl Date: Fri, 16 May 2014 12:49:16 +0000 (+0400) Subject: Stub of algorithm in new place. X-Git-Tag: V7_5_0a1~50^2~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6f0049749dcb25a4e92c1f1b8d4e2eb0b14f2ec2;p=modules%2Fgeom.git Stub of algorithm in new place. --- diff --git a/idl/GEOM_Gen.idl b/idl/GEOM_Gen.idl index ecf0308db..5ab5f679a 100644 --- a/idl/GEOM_Gen.idl +++ b/idl/GEOM_Gen.idl @@ -5089,6 +5089,19 @@ module GEOM void Move( in object_list what, in SALOMEDS::SObject where, in long row ); + + /*! + * \brief Get dependencies of the given object from other objects in study + * \param list of IORs + * \return texture byte array + * Example of using: + * SALOMEDS::TMPFile_var SeqFile = + * myGeometryGUI->GetGeomGen()->GetDependencyTree( aListOfIORs ); + * char* buf; + * buf = (char*) &SeqFile[0]; + */ + SALOMEDS::TMPFile GetDependencyTree(in string_array strValues); + }; }; diff --git a/src/GEOM_I/GEOM_Gen_i.cc b/src/GEOM_I/GEOM_Gen_i.cc index 4732c1f5a..8ef75a6f0 100755 --- a/src/GEOM_I/GEOM_Gen_i.cc +++ b/src/GEOM_I/GEOM_Gen_i.cc @@ -3039,6 +3039,14 @@ Engines::ListOfData* GEOM_Gen_i::getModifiedData(CORBA::Long studyId) return aResult._retn(); } +//======================================================================= +// function : +// purpose : +//======================================================================= +SALOMEDS::TMPFile* GEOM_Gen_i::GetDependencyTree(const GEOM::string_array&) { + +} + //===================================================================================== // EXPORTED METHODS //===================================================================================== diff --git a/src/GEOM_I/GEOM_Gen_i.hh b/src/GEOM_I/GEOM_Gen_i.hh index 81771124b..0a4f42b8f 100644 --- a/src/GEOM_I/GEOM_Gen_i.hh +++ b/src/GEOM_I/GEOM_Gen_i.hh @@ -197,6 +197,8 @@ class GEOM_I_EXPORT GEOM_Gen_i: virtual public POA_GEOM::GEOM_Gen, virtual publi CORBA::Boolean theInheritFirstArg, CORBA::Boolean theAddPrefix); + SALOMEDS::TMPFile* GetDependencyTree(const GEOM::string_array&); + //-----------------------------------------------------------------------// // Transaction methods // //-----------------------------------------------------------------------//