Internal: the helper to read field for a RagTime5Graph. More...
Public Types | |
| enum | Type { Z_Styles, Z_Colors } |
| enum used to define the zone type More... | |
Public Member Functions | |
| FieldParser (RagTime5Graph &parser, Type type) | |
| constructor | |
| std::string | getZoneName (int n) const |
| return the debug name corresponding to a field | |
| virtual bool | parseField (RagTime5StructManager::Field &field, RagTime5Zone &zone, int, libmwaw::DebugStream &f) |
| parse a field | |
Protected Attributes | |
| Type | m_type |
| the zone type | |
| RagTime5Graph & | m_mainParser |
| the main parser | |
Internal: the helper to read field for a RagTime5Graph.
| RagTime5GraphInternal::FieldParser::FieldParser | ( | RagTime5Graph & | parser, |
| Type | type | ||
| ) | [inline] |
constructor
| std::string RagTime5GraphInternal::FieldParser::getZoneName | ( | int | n | ) | const [inline, virtual] |
return the debug name corresponding to a field
Reimplemented from RagTime5StructManager::FieldParser.
| virtual bool RagTime5GraphInternal::FieldParser::parseField | ( | RagTime5StructManager::Field & | field, |
| RagTime5Zone & | zone, | ||
| int | , | ||
| libmwaw::DebugStream & | f | ||
| ) | [inline, virtual] |
parse a field
Reimplemented from RagTime5StructManager::FieldParser.
the main parser
Type RagTime5GraphInternal::FieldParser::m_type [protected] |
the zone type
Referenced by FieldParser(), getZoneName(), and parseField().