|
Public Methods |
| template<typename T> void | Register (string const &id, T const &v) |
| | register attribute id with initial value v.
|
| void | Register (string const &id, type_info const &t) |
| | register attribute id of type_info t.
|
| Attribute & | operator[] (string const &id) |
| void | ReadFrom (int argc, char **argv) |
| | Used for command line parsing.
|
| void | ReadFrom (string const &str) |
| | Read attribute values from a string.
|
Friends |
| istream & | operator>> (istream &is, Attributes &) |
| | Read attributes of the form as a list of "id value".
|
| ostream & | operator<< (ostream &os, Attributes const &) |