irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods_children_parser.hpp
Go to the documentation of this file.
1 #ifndef _CHILDREN_PARSER_HPP_
2 #define _CHILDREN_PARSER_HPP_
3 
4 #include "irods_error.hpp"
5 
6 #include <map>
7 #include <utility>
8 #include <string>
9 
10 namespace irods {
11 
16  public:
17  typedef std::map<std::string, std::string> children_map_t;
18  typedef children_map_t::const_iterator const_iterator;
22  children_parser( void );
23  virtual ~children_parser( void );
24 
25 
28 
30  error str( std::string& ret_string ) const;
31 
33  error add_child( const std::string& child, const std::string& context );
34 
36  error remove_child( const std::string& child );
37 
39  error set_string( const std::string& str );
40 
42  error first_child( std::string& _child );
43 
45  error last_child( std::string& _child );
46 
48  const_iterator begin( void ) const;
49 
51  const_iterator end( void ) const;
52 
53  private:
54  //std::string children_string_;
56  };
57 }; // namespace irods
58 
59 #endif // _CHILDREN_PARSER_HPP_
irods::children_parser::children_parser
children_parser(void)
Definition: irods_children_parser.cpp:10
irods::children_parser::last_child
error last_child(std::string &_child)
Definition: irods_children_parser.cpp:90
irods::children_parser::const_iterator
children_map_t::const_iterator const_iterator
Definition: irods_children_parser.hpp:18
irods::children_parser::end
const_iterator end(void) const
Definition: irods_children_parser.cpp:171
irods::children_parser::list
error list(children_map_t &list)
Definition: irods_children_parser.cpp:17
irods::children_parser::set_string
error set_string(const std::string &str)
Definition: irods_children_parser.cpp:110
irods::children_parser::begin
const_iterator begin(void) const
Definition: irods_children_parser.cpp:167
irods::children_parser::children_map_t
std::map< std::string, std::string > children_map_t
Definition: irods_children_parser.hpp:17
irods::children_parser::add_child
error add_child(const std::string &child, const std::string &context)
Definition: irods_children_parser.cpp:41
irods::children_parser::remove_child
error remove_child(const std::string &child)
Definition: irods_children_parser.cpp:57
irods
Definition: apiHandler.hpp:35
irods::children_parser::children_list_
children_map_t children_list_
Definition: irods_children_parser.hpp:55
irods::children_parser
Definition: irods_children_parser.hpp:15
irods::children_parser::first_child
error first_child(std::string &_child)
Definition: irods_children_parser.cpp:73
irods::error
Definition: irods_error.hpp:23
irods::children_parser::str
error str(std::string &ret_string) const
Definition: irods_children_parser.cpp:23
irods_error.hpp
irods::children_parser::~children_parser
virtual ~children_parser(void)
Definition: irods_children_parser.cpp:13
list
Definition: irods_list.h:13