SNAP Library , Developer Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <xfl.h>
Static Public Member Functions | |
static TStr | GetCurDir () |
static TStr | GetExeDir () |
static bool | GenDir (const TStr &FPathFNm) |
static bool | DelDir (const TStr &FPathFNm) |
bool TDir::DelDir | ( | const TStr & | FPathFNm | ) | [static] |
Definition at line 249 of file xfl.cpp.
References TStr::CStr().
{ return RemoveDirectory(FPathFNm.CStr())!=0; }
bool TDir::GenDir | ( | const TStr & | FPathFNm | ) | [static] |
Definition at line 245 of file xfl.cpp.
References TStr::CStr().
{ return CreateDirectory(FPathFNm.CStr(), NULL)!=0; }
TStr TDir::GetCurDir | ( | ) | [static] |
Definition at line 229 of file xfl.cpp.
References TStr::GetNrFPath(), and IAssert.
Referenced by TGnuPlot::CreatePlotFile(), and TStr::GetNrAbsFPath().
{ const int MxBfL=1000; char Bf[MxBfL]; int BfL=GetCurrentDirectory(MxBfL, Bf); IAssert((BfL!=0)&&(BfL<MxBfL)); return TStr::GetNrFPath(TStr(Bf)); }
TStr TDir::GetExeDir | ( | ) | [static] |
Definition at line 237 of file xfl.cpp.
References TStr::GetNrFPath(), and IAssert.
{ const int MxBfL=1000; char Bf[MxBfL]; int BfL=GetModuleFileName(NULL, Bf, MxBfL); IAssert((BfL!=0)&&(BfL<MxBfL)); return TStr::GetNrFPath(TStr(Bf).GetFPath()); }