SNAP Library , Developer Reference  2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TDir Class Reference

#include <xfl.h>

List of all members.

Static Public Member Functions

static TStr GetCurDir ()
static TStr GetExeDir ()
static bool GenDir (const TStr &FPathFNm)
static bool DelDir (const TStr &FPathFNm)

Detailed Description

Definition at line 73 of file xfl.h.


Member Function Documentation

bool TDir::DelDir ( const TStr FPathFNm) [static]

Definition at line 249 of file xfl.cpp.

References TStr::CStr().

                                     {
  return RemoveDirectory(FPathFNm.CStr())!=0;
}

Here is the call graph for this function:

bool TDir::GenDir ( const TStr FPathFNm) [static]

Definition at line 245 of file xfl.cpp.

References TStr::CStr().

                                     {
  return CreateDirectory(FPathFNm.CStr(), NULL)!=0;
}

Here is the call graph for this function:

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));
}

Here is the call graph for this function:

Here is the caller graph for this function:

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());
}

Here is the call graph for this function:


The documentation for this class was generated from the following files: