Internal: the subdocument of a MacWrtProParser. More...
Public Member Functions | |
| SubDocument (MacWrtProParser &pars, MWAWInputStreamPtr input, int zoneId) | |
| virtual | ~SubDocument () |
| destructor | |
| virtual bool | operator!= (MWAWSubDocument const &doc) const |
| operator!= | |
| virtual bool | operator== (MWAWSubDocument const &doc) const |
| operator!== | |
| int | getId () const |
| returns the subdocument id | |
| void | setId (int vid) |
| sets the subdocument id | |
| void | parse (MWAWListenerPtr &listener, libmwaw::SubDocumentType type) |
| the parser function | |
Protected Attributes | |
| int | m_id |
| the subdocument id | |
Internal: the subdocument of a MacWrtProParser.
| MacWrtProParserInternal::SubDocument::SubDocument | ( | MacWrtProParser & | pars, |
| MWAWInputStreamPtr | input, | ||
| int | zoneId | ||
| ) | [inline] |
| virtual MacWrtProParserInternal::SubDocument::~SubDocument | ( | ) | [inline, virtual] |
destructor
| int MacWrtProParserInternal::SubDocument::getId | ( | ) | const [inline] |
returns the subdocument id
| bool MacWrtProParserInternal::SubDocument::operator!= | ( | MWAWSubDocument const & | doc | ) | const [virtual] |
| virtual bool MacWrtProParserInternal::SubDocument::operator== | ( | MWAWSubDocument const & | doc | ) | const [inline, virtual] |
operator!==
Reimplemented from MWAWSubDocument.
| void MacWrtProParserInternal::SubDocument::parse | ( | MWAWListenerPtr & | listener, |
| libmwaw::SubDocumentType | type | ||
| ) | [virtual] |
the parser function
Implements MWAWSubDocument.
| void MacWrtProParserInternal::SubDocument::setId | ( | int | vid | ) | [inline] |
sets the subdocument id
int MacWrtProParserInternal::SubDocument::m_id [protected] |
the subdocument id
Referenced by getId(), operator!=(), parse(), and setId().