Version: 9.12.0
SALOMEDSImpl_Tool Class Reference

#include <SALOMEDSImpl_Tool.hxx>

Static Public Member Functions

static std::string GetTmpDir ()
 
static void RemoveTemporaryFiles (const std::string &theDirectory, const std::vector< std::string > &theFiles, const bool IsDirDeleted)
 
static std::string GetNameFromPath (const std::string &thePath)
 
static std::string GetDirFromPath (const std::string &thePath)
 
static std::vector< std::string > splitString (const std::string &theValue, char separator)
 
static std::vector< std::string > splitStringWithEmpty (const std::string &theValue, char separator)
 
static std::vector< std::vector< std::string > > splitStringWithEmpty (const std::string &theValue, char separator1, char separator2)
 
static void GetSystemDate (int &year, int &month, int &day, int &hours, int &minutes, int &seconds)
 
static std::string GetUserName ()
 

Member Function Documentation

◆ GetDirFromPath()

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

◆ GetNameFromPath()

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

◆ GetSystemDate()

void SALOMEDSImpl_Tool::GetSystemDate ( int &  year,
int &  month,
int &  day,
int &  hours,
int &  minutes,
int &  seconds 
)
static

◆ GetTmpDir()

std::string SALOMEDSImpl_Tool::GetTmpDir ( )
static

◆ GetUserName()

std::string SALOMEDSImpl_Tool::GetUserName ( )
static

◆ RemoveTemporaryFiles()

void SALOMEDSImpl_Tool::RemoveTemporaryFiles ( const std::string &  theDirectory,
const std::vector< std::string > &  theFiles,
const bool  IsDirDeleted 
)
static

◆ splitString()

std::vector< std::string > SALOMEDSImpl_Tool::splitString ( const std::string &  theValue,
char  separator 
)
static

◆ splitStringWithEmpty() [1/2]

std::vector< std::string > SALOMEDSImpl_Tool::splitStringWithEmpty ( const std::string &  theValue,
char  separator 
)
static

◆ splitStringWithEmpty() [2/2]

std::vector< std::vector< std::string > > SALOMEDSImpl_Tool::splitStringWithEmpty ( const std::string &  theValue,
char  separator1,
char  separator2 
)
static