Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CppDir Namespace Reference


Compounds

class  CppDir::Directory
 < class representing a directory. More...

class  CppDir::File
 < A simple file. More...


Functions

bool operator== (const File &f1, const File &f2)
 compares the name of 2 files. More...

std::ostream & operator<< (std::ostream &out, File::Type type)
std::string concat_dir (std::string path, std::string name)
 concats 2 directory names, or dir and filename ..... More...

std::string pwd ()
 gets the current directory. More...


Detailed Description

This is a simple C++ interface for accessing files and directories. It's a fast hack and won't be developed today as an extra package.


Function Documentation

std::string CppDir::concat_dir std::string    path,
std::string    name
 

concats 2 directory names, or dir and filename .....

std::ostream & CppDir::operator<< std::ostream &    out,
File::Type    type
 

bool operator== const File   f1,
const File   f2
[inline]
 

compares the name of 2 files.

std::string CppDir::pwd  
 

gets the current directory.


Generated on Tue Nov 20 02:19:58 2001 for Leo<HTML> by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001