29 #ifndef __SALOMEDS_Tool_H__
30 #define __SALOMEDS_Tool_H__
37 #include "SALOMEconfig.h"
38 #include CORBA_SERVER_HEADER(SALOMEDS)
41 # if defined TOOLSDS_EXPORTS
42 # define TOOLSDS_EXPORT __declspec( dllexport )
44 # define TOOLSDS_EXPORT __declspec( dllimport )
47 # define TOOLSDS_EXPORT
61 static void RemoveTemporaryFiles(
const std::string& theDirectory,
63 const bool IsDirDeleted);
68 const int theNamesOnly = 0);
75 static SALOMEDS::ListOfFileNames_var PutStreamToFiles(
const SALOMEDS::TMPFile& theStream,
76 const std::string& theToDirectory,
77 const int theNamesOnly = 0);
88 static bool GetFlag(
const int theFlag,
89 SALOMEDS::Study_var theStudy,
90 SALOMEDS::SObject_var theObj );
93 static bool SetFlag(
const int theFlag,
94 SALOMEDS::Study_var theStudy,
95 const std::string& theEntry,
96 const bool theValue );
99 static void GetAllChildren( SALOMEDS::Study_var theStudy,
100 SALOMEDS::SObject_var theObj,
101 std::list<SALOMEDS::SObject_var>& theList );