MWAWSubDocument Class Referenceabstract

abstract class used to store a subdocument (with a comparison function) More...

`#include <MWAWSubDocument.hxx>`

Inheritance diagram for MWAWSubDocument:

## Public Member Functions

| MWAWSubDocument (MWAWParser *pars, MWAWInputStreamPtr ip, MWAWEntry const &z)
| constructor from parser, input stream and zone in the input More...
| MWAWSubDocument (MWAWSubDocument const &doc)
| copy constructor More...
MWAWSubDocument & | operator= (MWAWSubDocument const &doc)
| copy operator More...
virtual | ~MWAWSubDocument ()
| virtual destructor More...
virtual bool | operator!= (MWAWSubDocument const &doc) const
| comparison operator!= More...
bool | operator== (MWAWSubDocument const &doc) const
| comparison operator== More...
bool | operator!= (shared_ptr< MWAWSubDocument > const &doc) const
| comparison operator!= More...
bool | operator== (shared_ptr< MWAWSubDocument > const &doc) const
| comparison operator== More...
virtual void | parse (MWAWContentListenerPtr &listener, libmwaw::SubDocumentType subDocumentType)=0
| virtual parse function More...

## Protected Attributes

MWAWParser * | m_parser
| the main zone parser More...
shared_ptr< MWAWInputStream > | m_input
| the input More...
MWAWEntry | m_zone
| if valid the zone to parse More...

## Detailed Description

abstract class used to store a subdocument (with a comparison function)

## Constructor & Destructor Documentation

MWAWSubDocument::MWAWSubDocument | ( | MWAWParser * | pars,
|  | MWAWInputStreamPtr | ip,
|  | MWAWEntry const & | z
| ) |  |

constructor from parser, input stream and zone in the input

MWAWSubDocument::MWAWSubDocument | ( | MWAWSubDocument const & | doc | ) |

copy constructor

MWAWSubDocument::~MWAWSubDocument | ( |  | ) |

virtual

virtual destructor

## Member Function Documentation

bool MWAWSubDocument::operator!= | ( | MWAWSubDocument const & | doc | ) | const

virtual

comparison operator!=

Reimplemented in MSKGraphInternal::SubDocument, HMWJGraphInternal::SubDocument, HMWKGraphInternal::SubDocument, GWGraphInternal::SubDocument, WPParserInternal::SubDocument, MDWParserInternal::SubDocument, MORTextInternal::SubDocument, NSTextInternal::SubDocument, HMWJTextInternal::SubDocument, MRWGraphInternal::SubDocument, MWParserInternal::SubDocument, BWTextInternal::SubDocument, MWProParserInternal::SubDocument, FWParserInternal::SubDocument, MSW1ParserInternal::SubDocument, MSWParserInternal::SubDocument, ACParserInternal::SubDocument, DMTextInternal::SubDocument, MRWParserInternal::SubDocument, ZWTextInternal::SubDocument, GWParserInternal::SubDocument, MSK3ParserInternal::SubDocument, CWParserInternal::SubDocument, MORParserInternal::SubDocument, FWGraphInternal::SubDocument, NSGraphInternal::SubDocument, HMWJParserInternal::SubDocument, HMWKParserInternal::SubDocument, WNParserInternal::SubDocument, LWParserInternal::SubDocument, ZWParserInternal::SubDocument, MSK4ParserInternal::SubDocument, and MWAWPageSpanInternal::SubDocument.

Referenced by operator!=(), MSW1ParserInternal::SubDocument::operator!=(), and operator==().

bool MWAWSubDocument::operator!= | ( | shared_ptr< MWAWSubDocument > const & | doc | ) | const

comparison operator!=

MWAWSubDocument & MWAWSubDocument::operator= | ( | MWAWSubDocument const & | doc | ) |

copy operator

bool MWAWSubDocument::operator== | ( | MWAWSubDocument const & | doc | ) | const

inline

comparison operator==

bool MWAWSubDocument::operator== | ( | shared_ptr< MWAWSubDocument > const & | doc | ) | const

inline

comparison operator==

virtual void MWAWSubDocument::parse | ( | MWAWContentListenerPtr & | listener,
|  | libmwaw::SubDocumentType | subDocumentType
| ) |  |

pure virtual

virtual parse function

this function is called to parse the subdocument

Implemented in MSKGraphInternal::SubDocument, HMWJGraphInternal::SubDocument, HMWKGraphInternal::SubDocument, GWGraphInternal::SubDocument, WPParserInternal::SubDocument, MDWParserInternal::SubDocument, MORTextInternal::SubDocument, NSTextInternal::SubDocument, HMWJTextInternal::SubDocument, MRWGraphInternal::SubDocument, MWParserInternal::SubDocument, BWTextInternal::SubDocument, MWProParserInternal::SubDocument, FWParserInternal::SubDocument, MSW1ParserInternal::SubDocument, ACParserInternal::SubDocument, MSWParserInternal::SubDocument, MRWParserInternal::SubDocument, DMTextInternal::SubDocument, ZWTextInternal::SubDocument, MSK3ParserInternal::SubDocument, GWParserInternal::SubDocument, CWParserInternal::SubDocument, HMWJParserInternal::SubDocument, MORParserInternal::SubDocument, FWGraphInternal::SubDocument, NSGraphInternal::SubDocument, HMWKParserInternal::SubDocument, LWParserInternal::SubDocument, WNParserInternal::SubDocument, ZWParserInternal::SubDocument, MSK4ParserInternal::SubDocument, and MWAWPageSpanInternal::SubDocument.

## Member Data Documentation

shared_ptr<MWAWInputStream> MWAWSubDocument::m_input

protected

the input

Referenced by operator!=(), operator=(), WNParserInternal::SubDocument::parse(), HMWKParserInternal::SubDocument::parse(), NSGraphInternal::SubDocument::parse(), HMWJParserInternal::SubDocument::parse(), GWParserInternal::SubDocument::parse(), MSK3ParserInternal::SubDocument::parse(), ZWTextInternal::SubDocument::parse(), DMTextInternal::SubDocument::parse(), MRWParserInternal::SubDocument::parse(), MSWParserInternal::SubDocument::parse(), MSW1ParserInternal::SubDocument::parse(), FWParserInternal::SubDocument::parse(), MWProParserInternal::SubDocument::parse(), BWTextInternal::SubDocument::parse(), MWParserInternal::SubDocument::parse(), MRWGraphInternal::SubDocument::parse(), HMWJTextInternal::SubDocument::parse(), NSTextInternal::SubDocument::parse(), MORTextInternal::SubDocument::parse(), MDWParserInternal::SubDocument::parse(), WPParserInternal::SubDocument::parse(), GWGraphInternal::SubDocument::parse(), HMWKGraphInternal::SubDocument::parse(), HMWJGraphInternal::SubDocument::parse(), and MSKGraphInternal::SubDocument::parse().

MWAWParser* MWAWSubDocument::m_parser

protected

the main zone parser

Referenced by operator!=(), operator=(), MSK4ParserInternal::SubDocument::parse(), ZWParserInternal::SubDocument::parse(), WNParserInternal::SubDocument::parse(), LWParserInternal::SubDocument::parse(), HMWKParserInternal::SubDocument::parse(), MORParserInternal::SubDocument::parse(), HMWJParserInternal::SubDocument::parse(), CWParserInternal::SubDocument::parse(), GWParserInternal::SubDocument::parse(), MSK3ParserInternal::SubDocument::parse(), MRWParserInternal::SubDocument::parse(), MSWParserInternal::SubDocument::parse(), ACParserInternal::SubDocument::parse(), MSW1ParserInternal::SubDocument::parse(), FWParserInternal::SubDocument::parse(), MWProParserInternal::SubDocument::parse(), MWParserInternal::SubDocument::parse(), MDWParserInternal::SubDocument::parse(), and WPParserInternal::SubDocument::parse().

MWAWEntry MWAWSubDocument::m_zone

protected

if valid the zone to parse

Referenced by operator!=(), operator=(), MSK4ParserInternal::SubDocument::parse(), MSWParserInternal::SubDocument::parse(), MSW1ParserInternal::SubDocument::parse(), GWGraphInternal::SubDocument::parse(), and MSKGraphInternal::SubDocument::parse().

The documentation for this class was generated from the following files:

- MWAWSubDocument.hxx
- MWAWSubDocument.cxx