From 6f0049749dcb25a4e92c1f1b8d4e2eb0b14f2ec2 Mon Sep 17 00:00:00 2001 From: akl Date: Fri, 16 May 2014 16:49:16 +0400 Subject: [PATCH] Stub of algorithm in new place. --- idl/GEOM_Gen.idl | 13 +++++++++++++ src/GEOM_I/GEOM_Gen_i.cc | 8 ++++++++ src/GEOM_I/GEOM_Gen_i.hh | 2 ++ 3 files changed, 23 insertions(+) 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 // //-----------------------------------------------------------------------// -- 2.39.2