The attributeset section contains several lines. Each of them starts with an attribute and then a the value for the id.
|
Public Member Functions |
| AttributeReader (LemonReader &_reader, const std::string &_name=std::string()) |
| Constructor.
|
virtual | ~AttributeReader () |
| Destructor.
|
template<typename Value> |
AttributeReader & | readAttribute (const std::string &id, Value &value) |
| Add an attribute reader command for the reader.
|
template<typename Reader, typename Value> |
AttributeReader & | readAttribute (const std::string &name, Value &value, const Reader &reader=Reader()) |
| Add an attribute reader command for the reader.
|
Protected Member Functions |
bool | header (const std::string &line) |
| Gives back true when the SectionReader can process the section with the given header line.
|
void | read (std::istream &is) |
| Reader function of the section.
|