Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

Anaphe::AIDA_Tree_native::PathParser Class Reference

Utility class used to create well formatted path names.

#include <PathParser.h>

List of all members.

Public Methods

 PathParser ()
 Constructor. More...

 ~PathParser ()
 Destructor. More...

std::list< std::string > formNames (const std::string &path) const
 Forms a list of strings given a path. More...

std::string formPath (const std::list< std::string > &names) const
 Forms a path from a list of strings (appends one "/" between two names). More...

std::string parent (const std::string &path) const
 Forms the parent dir given a path. More...


Constructor & Destructor Documentation

Anaphe::AIDA_Tree_native::PathParser::PathParser  
 

Definition at line 4 of file PathParser.cpp.

Anaphe::AIDA_Tree_native::PathParser::~PathParser  
 

Definition at line 8 of file PathParser.cpp.


Member Function Documentation

std::list< std::string > Anaphe::AIDA_Tree_native::PathParser::formNames const std::string &    path const
 

Definition at line 13 of file PathParser.cpp.

Referenced by parent.

std::string Anaphe::AIDA_Tree_native::PathParser::formPath const std::list< std::string > &    names const
 

Definition at line 50 of file PathParser.cpp.

Referenced by parent.

std::string Anaphe::AIDA_Tree_native::PathParser::parent const std::string &    path const
 

Definition at line 61 of file PathParser.cpp.

References formNames, and formPath.


The documentation for this class was generated from the following files:
Generated on Tue May 20 14:49:46 2003 for AIDA_Tree_native by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002