Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Path Class Reference

a portable way to inspect the PATH environment. More...

#include <path.h>

Collaboration diagram for Path:

Collaboration graph
[legend]
List of all members.

Public Methods

 Path ()
 Path (const char *path)
virtual ~Path ()
std::vector< std::string
>::const_iterator 
begin () const
std::vector< std::string
>::const_iterator 
end () const

Private Methods

void init (const char *path)

Private Attributes

std::vector< std::string > dirs

Detailed Description

a portable way to inspect the PATH environment.

Definition at line 35 of file path.h.


Constructor & Destructor Documentation

Path  
 

Definition at line 35 of file path.cpp.

Path const char *    path
 

Definition at line 44 of file path.cpp.

virtual ~Path   [inline, virtual]
 

Definition at line 43 of file path.h.


Member Function Documentation

void init const char *    path [private]
 

Definition at line 54 of file path.cpp.

Referenced by Path::Path().

std::vector<std::string>::const_iterator begin   const [inline]
 

Definition at line 45 of file path.h.

Referenced by ProgramInfo::setProgramPaths().

std::vector<std::string>::const_iterator end   const [inline]
 

Definition at line 46 of file path.h.

Referenced by ProgramInfo::setProgramPaths().


Member Data Documentation

std::vector<std::string> dirs [private]
 

Definition at line 37 of file path.h.

Referenced by Path::begin(), Path::end(), and Path::init().


The documentation for this class was generated from the following files:
Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen