Zusätzliche Funktionen


Functions

bool dirstr::is_directory (const std::string &entry)
 Prüft ob es sich bei entry um ein Verzeichnis handelt.
std::string dirstr::full_path (const std::string &entry)
 Liefert den absoluten Pfad des Verzeichniseintrags entry.
bool dirstr::create_directory (const std::string &path)
 Erzeugt das Verzeichnis path.
bool dirstr::directory_exists (const std::string &path)
 Prüft ob das Verzeichnis path existiert.

Function Documentation

bool dirstr::create_directory ( const std::string &  path  ) 

Erzeugt das Verzeichnis path.

Precondition:
path.empty() == false
Returns:
liefert true, falls das Verzeichnis path erzeugt werden konnte. false sonst

bool dirstr::directory_exists ( const std::string &  path  ) 

Prüft ob das Verzeichnis path existiert.

Precondition:
path.empty() == false
Returns:
liefert true, falls das Verzeichnis path existiert.

std::string dirstr::full_path ( const std::string &  entry  ) 

Liefert den absoluten Pfad des Verzeichniseintrags entry.

Precondition:
path.empty() == false
Returns:
liefert den absoluten Pfad für entry. Liefert einen leeren String für den Fall, dass die Auflösung fehl schlägt.

bool dirstr::is_directory ( const std::string &  entry  ) 

Prüft ob es sich bei entry um ein Verzeichnis handelt.

Precondition:
path.empty() == false
Returns:
liefert true, falls entry ein Verzeichnis ist. false sonst.


Generated on Fri Apr 27 13:12:36 2007 for Highlight Code Converter by  doxygen 1.5.2