const CMIUtilString &rStrKeyWkDir(rSessionInfo.m_constStrSharedDataKeyWkDir);
if (!rSessionInfo.SharedDataRetrieve<CMIUtilString>(rStrKeyWkDir, strWkDir))
{
- strWkDir = CMIUtilFileStd().StripOffFileName(strExeFilePath);
+ strWkDir = CMIUtilFileStd::StripOffFileName(strExeFilePath);
if (!rSessionInfo.SharedDataAdd<CMIUtilString>(rStrKeyWkDir, strWkDir))
{
SetError(CMIUtilString::Format(MIRSRC(IDS_DBGSESSION_ERR_SHARED_DATA_ADD), m_cmdData.strMiCmd.c_str(), rStrKeyWkDir.c_str()));
CMIUtilString strPathName;
if (CMIUtilSystem().GetLogFilesPath(strPathName))
{
- const CMIUtilString strPath = CMIUtilFileStd().StripOffFileName(strPathName);
+ const CMIUtilString strPath = CMIUtilFileStd::StripOffFileName(strPathName);
// ToDo: Review this LINUX log file quick fix so not hidden
// AD:
// Throws: None.
//--
CMIUtilString
-CMIUtilFileStd::StripOffFileName(const CMIUtilString &vDirectoryPath) const
+CMIUtilFileStd::StripOffFileName(const CMIUtilString &vDirectoryPath)
{
const MIint nPos = vDirectoryPath.rfind('\\');
MIint nPos2 = vDirectoryPath.rfind('/');
bool IsOk(void) const;
bool IsFileExist(const CMIUtilString &vFileNamePath) const;
const CMIUtilString &GetLineReturn(void) const;
- CMIUtilString StripOffFileName(const CMIUtilString &vDirectoryPath) const;
+ static CMIUtilString StripOffFileName(const CMIUtilString &vDirectoryPath);
// Overridden:
public: