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