00001
00002 #ifndef ANAPHE_PATHPARSER
00003 #define ANAPHE_PATHPARSER 1
00004
00005 #include <list>
00006 #include <string>
00007
00008 namespace Anaphe {
00009 namespace AIDA_Tree_native {
00010
00012
00013 class PathParser {
00014
00015 public:
00017 PathParser();
00019 ~PathParser();
00021 std::list< std::string > formNames( const std::string& path ) const;
00023 std::string formPath( const std::list< std::string >& names ) const;
00025 std::string parent( const std::string& path ) const;
00026 };
00027
00028 }
00029 }
00030
00031 static const Anaphe::AIDA_Tree_native::PathParser anaphe_path_parser;
00032
00033 #endif