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