Version: 9.12.0
SALOMEDS_Tool Class Reference

#include <SALOMEDS_Tool.hxx>

Public Types

typedef std::vector< std::string > ListOfFiles
 

Static Public Member Functions

static std::string GetTmpDir ()
 
static void RemoveTemporaryFiles (const std::string &theDirectory, const ListOfFiles &theFiles, const bool IsDirDeleted)
 
static SALOMEDS::TMPFilePutFilesToStream (const std::string &theFromDirectory, const ListOfFiles &theFiles, const int theNamesOnly=0)
 
static SALOMEDS::TMPFilePutFilesToStream (const ListOfFiles &theFiles, const ListOfFiles &theFileNames)
 
static ListOfFiles PutStreamToFiles (const SALOMEDS::TMPFile &theStream, const std::string &theToDirectory, const int theNamesOnly=0)
 
static std::string GetNameFromPath (const std::string &thePath)
 
static std::string GetDirFromPath (const std::string &thePath)
 
static bool GetFlag (const int theFlag, SALOMEDS::Study_var theStudy, SALOMEDS::SObject_var theObj)
 
static bool SetFlag (const int theFlag, SALOMEDS::Study_var theStudy, const std::string &theEntry, const bool theValue)
 
static void GetAllChildren (SALOMEDS::Study_var theStudy, SALOMEDS::SObject_var theObj, std::list< SALOMEDS::SObject_var > &theList)
 

Member Typedef Documentation

◆ ListOfFiles

typedef std::vector<std::string> SALOMEDS_Tool::ListOfFiles

Member Function Documentation

◆ GetAllChildren()

void SALOMEDS_Tool::GetAllChildren ( SALOMEDS::Study_var  theStudy,
SALOMEDS::SObject_var  theObj,
std::list< SALOMEDS::SObject_var > &  theList 
)
static

◆ GetDirFromPath()

std::string SALOMEDS_Tool::GetDirFromPath ( const std::string &  thePath)
static

References ORBConfigFile::path.

◆ GetFlag()

bool SALOMEDS_Tool::GetFlag ( const int  theFlag,
SALOMEDS::Study_var  theStudy,
SALOMEDS::SObject_var  theObj 
)
static

◆ GetNameFromPath()

std::string SALOMEDS_Tool::GetNameFromPath ( const std::string &  thePath)
static

◆ GetTmpDir()

std::string SALOMEDS_Tool::GetTmpDir ( )
static

◆ PutFilesToStream() [1/2]

SALOMEDS::TMPFile * SALOMEDS_Tool::PutFilesToStream ( const ListOfFiles theFiles,
const ListOfFiles theFileNames 
)
static

◆ PutFilesToStream() [2/2]

SALOMEDS::TMPFile * SALOMEDS_Tool::PutFilesToStream ( const std::string &  theFromDirectory,
const ListOfFiles theFiles,
const int  theNamesOnly = 0 
)
static

◆ PutStreamToFiles()

SALOMEDS_Tool::ListOfFiles SALOMEDS_Tool::PutStreamToFiles ( const SALOMEDS::TMPFile theStream,
const std::string &  theToDirectory,
const int  theNamesOnly = 0 
)
static

◆ RemoveTemporaryFiles()

void SALOMEDS_Tool::RemoveTemporaryFiles ( const std::string &  theDirectory,
const ListOfFiles theFiles,
const bool  IsDirDeleted 
)
static

References Exists().

◆ SetFlag()

bool SALOMEDS_Tool::SetFlag ( const int  theFlag,
SALOMEDS::Study_var  theStudy,
const std::string &  theEntry,
const bool  theValue 
)
static