Scarab  v2.1.0
Project 8 C++ Utility Library
parsable.hh
Go to the documentation of this file.
1 #ifndef SCARAB_PARSABLE_HH_
2 #define SCARAB_PARSABLE_HH_
3 
4 #include "scarab_api.hh"
5 
6 #include "param.hh"
7 
8 #include <string>
9 
10 namespace scarab
11 {
13  {
14  public:
15  parsable();
16  parsable( const std::string& a_addr_with_value );
17  parsable( const std::string& a_addr, const std::string& a_value );
18  parsable( const parsable& a_orig );
19  ~parsable();
20 
21  private:
22  void add_next( param_node& a_parent, const std::string& a_addr, const std::string& a_value );
23 
24  public:
25  static const char f_value_separator = '=';
26  static const char f_node_separator = '.';
27  };
28 
29 } /* namespace scarab */
30 
31 #endif /* SCARAB_PARSABLE_HH_ */
#define SCARAB_API
Definition: scarab_api.hh:24