Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

directory Class Reference

#include <directory.h>

Collaboration diagram for directory:

Collaboration graph
List of all members.

Detailed Description

Directory singleton class.


Static Public Member Functions

void SetCurrent (const string &FileRoute)
 Sets the current directory.

string GetCurrent (void)
 Gets the current directory.

size_t GetFullPath (const string &FileRoute, string &FullRoute)
 Gets string with the full path.


Static Public Attributes

const char DIR_SEP = '\\'
 Directory separator for windows os.


Private Member Functions

 directory (void)
 directory::directory: Directory constructor


Constructor & Destructor Documentation

directory::directory void   )  [private]
 

directory::directory: Directory constructor


Member Function Documentation

void directory::SetCurrent const string &  FileRoute  )  [static]
 

Sets the current directory.

Parameters:
FileRoute: File route to be set.

string directory::GetCurrent void   )  [static]
 

Gets the current directory.

Returns:
String with the current directory.

size_t directory::GetFullPath const string &  FileRoute,
string &  FullRoute
[static]
 

Gets string with the full path.

Parameters:
FileRoute: Relative route.
FullRoute: String where the full route is stored.
Returns:
the length of the file name. (not the full path)


Member Data Documentation

const char directory::DIR_SEP = '\\' [static]
 

Directory separator for windows os.


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