Data Structures | |
class | Localizer |
Enumerations | |
enum | GUIDtype { DefUserID = 1, ObjectdID } |
GUID type. More... | |
Functions | |
std::string | GetBaseName (const std::string &file_path) |
std::string | GetDirName (const std::string &file_path) |
std::string | GetTmpDirByEnv (const std::string &tmp_path_env) |
std::string | GetTmpDirByPath (const std::string &tmp_path) |
std::string | GetTmpDir () |
std::string | GetTmpFileName () |
bool | IsExists (const std::string &thePath) |
bool | IsWritable (const std::string &thePath) |
std::string | GetDirByPath (const std::string &thePath) |
bool | IsEmptyDir (const std::string &thePath) |
std::string | GetHostname () |
std::string | GetGUID (GUIDtype) |
Get predefined GUID. More... | |
void | print_traceback () |
std::string Kernel_Utils::GetBaseName | ( | const std::string & | file_path | ) |
References _separator_.
Referenced by main().
std::string Kernel_Utils::GetDirByPath | ( | const std::string & | thePath | ) |
References _separator_.
Referenced by SALOME_ContainerManager::RmTmpFile().
std::string Kernel_Utils::GetDirName | ( | const std::string & | file_path | ) |
References _separator_.
std::string Kernel_Utils::GetGUID | ( | GUIDtype | type | ) |
Get predefined GUID.
References DefUserID, and ObjectdID.
Referenced by SALOMEDSImpl_AttributeUserID::DefaultID().
std::string Kernel_Utils::GetHostname | ( | ) |
Referenced by ResourcesManager_cpp::AddDefaultResourceInCatalog(), SALOME_ContainerManager::BuildCommandToLaunchLocalContainer(), SALOME_ContainerManager::BuildCommandToLaunchRemoteContainer(), SALOME_ContainerManager::BuildTempFileToLaunchRemoteContainer(), Container_proxy_impl_final::Container_proxy_impl_final(), Engines_Container_i::Engines_Container_i(), Engines_MPIContainer_i::Engines_MPIContainer_i(), Engines_Parallel_Container_i::Engines_Parallel_Container_i(), fileRef_i::fileRef_i(), ResourcesManager_cpp::GetFittingResources(), Engines_Container_i::getHostName(), SALOME_FileTransferCORBA::getLocalFile(), SALOMEDS_GenericAttribute_i::GetLocalImpl(), SALOMEDS_SObject_i::GetLocalImpl(), SALOMEDS_StudyManager_i::GetLocalImpl(), SALOMEDS_Study_i::GetLocalImpl(), LifeCycleCORBATest::GetRemoteHost(), Engines_Container_i::Kill_impl(), SALOME_ContainerManager::LaunchContainer(), main(), ResourcesManager_cpp::ParseXmlFiles(), SALOME_ResourcesCatalog_Handler::ProcessXmlDocument(), Engines_Parallel_Component_i::Resume_impl(), Engines_Component_i::Resume_impl(), SALOMEDS_GenericAttribute::SALOMEDS_GenericAttribute(), SALOMEDS_SObject::SALOMEDS_SObject(), SALOMEDS_Study::SALOMEDS_Study(), SALOMEDS_StudyManager::SALOMEDS_StudyManager(), SALOME_LifeCycleCORBA::shutdownServers(), Engines_Parallel_Component_i::Stop_impl(), Engines_Component_i::Stop_impl(), Engines_Parallel_Component_i::Suspend_impl(), Engines_Component_i::Suspend_impl(), LifeCycleCORBATest::testFindOrLoad_Component_LaunchContainerHostname(), LifeCycleCORBATest::testFindOrLoad_Component_ParamsContainerName(), LifeCycleCORBATest::testFindOrLoad_Component_ParamsLocalContainer(), LifeCycleCORBATest::testFindOrLoad_Component_SameContainer(), and LifeCycleCORBATest::testgetLocalFile_localComputer().
std::string Kernel_Utils::GetTmpDir | ( | ) |
std::string Kernel_Utils::GetTmpDirByEnv | ( | const std::string & | tmp_path_env | ) |
References GetTmpDirByPath().
Referenced by SALOMEDS_Tool::GetTmpDir().
std::string Kernel_Utils::GetTmpDirByPath | ( | const std::string & | tmp_path | ) |
References _separator_, and IsExists().
Referenced by GetTmpDir(), and GetTmpDirByEnv().
std::string Kernel_Utils::GetTmpFileName | ( | ) |
References GetTmpDir(), and IsExists().
Referenced by SALOME_ContainerManager::BuildTemporaryFileName(), SALOME_ContainerManager::getpidofprogram(), and SALOME_ContainerManager::machinesFile().
bool Kernel_Utils::IsEmptyDir | ( | const std::string & | thePath | ) |
References IsExists().
Referenced by SALOME_ContainerManager::RmTmpFile().
bool Kernel_Utils::IsExists | ( | const std::string & | thePath | ) |
Referenced by GetTmpDirByPath(), GetTmpFileName(), and IsEmptyDir().
bool Kernel_Utils::IsWritable | ( | const std::string & | thePath | ) |
void Kernel_Utils::print_traceback | ( | ) |