virtual class use to parse the unstructured data More...
#include <RagTime5StructManager.hxx>
Public Member Functions | |
| DataParser (std::string const &zoneName) | |
| constructor | |
| virtual | ~DataParser () |
| destructor | |
| virtual std::string | getZoneName () const |
| return the debug name corresponding to a zone | |
| virtual std::string | getZoneName (int n) const |
| return the debug name corresponding to a field | |
| virtual bool | parseData (MWAWInputStreamPtr &, long, RagTime5Zone &, int, libmwaw::DebugStream &) |
| parse a data | |
Protected Attributes | |
| std::string | m_name |
| the field name | |
Private Member Functions | |
| DataParser (DataParser const &orig) | |
| DataParser & | operator= (DataParser const &orig) |
virtual class use to parse the unstructured data
| RagTime5StructManager::DataParser::DataParser | ( | std::string const & | zoneName | ) | [inline] |
constructor
| virtual RagTime5StructManager::DataParser::~DataParser | ( | ) | [inline, virtual] |
destructor
| RagTime5StructManager::DataParser::DataParser | ( | DataParser const & | orig | ) | [private] |
| virtual std::string RagTime5StructManager::DataParser::getZoneName | ( | ) | const [inline, virtual] |
return the debug name corresponding to a zone
Referenced by RagTime5Parser::readFixedSizeZone(), and RagTime5Parser::readListZone().
| virtual std::string RagTime5StructManager::DataParser::getZoneName | ( | int | n | ) | const [inline, virtual] |
return the debug name corresponding to a field
| DataParser& RagTime5StructManager::DataParser::operator= | ( | DataParser const & | orig | ) | [private] |
| virtual bool RagTime5StructManager::DataParser::parseData | ( | MWAWInputStreamPtr & | , |
| long | , | ||
| RagTime5Zone & | , | ||
| int | , | ||
| libmwaw::DebugStream & | |||
| ) | [inline, virtual] |
parse a data
Reimplemented in RagTime5SpreadsheetInternal::Unknown5Parser, RagTime5GraphInternal::FloatParser, RagTime5SpreadsheetInternal::ContentParser, RagTime5ParserInternal::ClustListParser, RagTime5GraphInternal::IntListParser, RagTime5SpreadsheetInternal::DoubleParser, RagTime5ParserInternal::IndexUnicodeParser, RagTime5TextInternal::ClustListParser, RagTime5SpreadsheetInternal::ClustListParser, and RagTime5GraphInternal::ClustListParser.
Referenced by RagTime5Parser::readFixedSizeZone(), and RagTime5Parser::readListZone().
std::string RagTime5StructManager::DataParser::m_name [protected] |
the field name
Referenced by getZoneName(), and RagTime5SpreadsheetInternal::Unknown5Parser::parseData().