Public Member Functions | Protected Attributes | List of all members
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 const &ip, MWAWEntry const &z)
| constructor from parser, input stream and zone in the input More...
| MWAWSubDocument (MWAWSubDocument const &doc)=default
| copy constructor More...
MWAWSubDocument & | operator= (MWAWSubDocument const &doc)=default
| 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!= (std::shared_ptr< MWAWSubDocument > const &doc) const
| comparison operator!= More...
bool | operator== (std::shared_ptr< MWAWSubDocument > const &doc) const
| comparison operator== More...
virtual void | parse (MWAWListenerPtr &listener, libmwaw::SubDocumentType subDocumentType)=0
| virtual parse function More...

## Protected Attributes
MWAWParser * | m_parser
| the main zone parser More...
std::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() [1/2]

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

constructor from parser, input stream and zone in the input

## ◆ MWAWSubDocument() [2/2]

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

copy constructor

## ◆ ~MWAWSubDocument()

MWAWSubDocument::~MWAWSubDocument | ( |  | ) |
| virtual

virtual destructor

## Member Function Documentation

## ◆ operator!=() [1/2]

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

comparison operator!=

Reimplemented in MsWksGraphInternal::SubDocument, HanMacWrdJGraphInternal::SubDocument, HanMacWrdKGraphInternal::SubDocument, ClarisWksGraphInternal::SubDocument, ApplePictParserInternal::SubDocument, PowerPoint3ParserInternal::SubDocument, ClarisDrawGraphInternal::SubDocument, FreeHandParserInternal::SubDocument, WriterPlsParserInternal::SubDocument, ClarisWksTextInternal::SubDocument, PowerPoint7GraphInternal::SubDocument, MindWrtParserInternal::SubDocument, RagTime5GraphInternal::SubDocument, MsWksDBParserInternal::SubDocument, GreatWksGraphInternal::SubDocument, MarinerWrtGraphInternal::SubDocument, GreatWksDBParserInternal::SubDocument, MoreTextInternal::SubDocument, NisusWrtTextInternal::SubDocument, MacDraft5ParserInternal::SubDocument, MacDrawProParserInternal::SubDocument, HanMacWrdJTextInternal::SubDocument, RagTimeParserInternal::SubDocument, MacWrtParserInternal::SubDocument, PowerPoint1ParserInternal::SubDocument, BeagleWksTextInternal::SubDocument, CricketDrawParserInternal::SubDocument, MacDraftParserInternal::SubDocument, BeagleWksSSParserInternal::SubDocument, MacWrtProParserInternal::SubDocument, FullWrtParserInternal::SubDocument, MsWrdParserInternal::SubDocument, MsWrd1ParserInternal::SubDocument, ActaParserInternal::SubDocument, MsWksDocumentInternal::SubDocument, BeagleWksDBParserInternal::SubDocument, MsWks3TextInternal::SubDocument, GreatWksSSParserInternal::SubDocument, DocMkrTextInternal::SubDocument, MacDrawParserInternal::SubDocument, MarinerWrtParserInternal::SubDocument, BeagleWksDRParserInternal::SubDocument, ZWrtTextInternal::SubDocument, MsWksSSParserInternal::SubDocument, SuperPaintParserInternal::SubDocument, ClarisWksDocumentInternal::SubDocument, ClarisWksPresentationInternal::SubDocument, GreatWksParserInternal::SubDocument, MouseWrtParserInternal::SubDocument, FullWrtGraphInternal::SubDocument, NisusWrtGraphInternal::SubDocument, MoreParserInternal::SubDocument, HanMacWrdJParserInternal::SubDocument, WriteNowParserInternal::SubDocument, HanMacWrdKParserInternal::SubDocument, LightWayTxtParserInternal::SubDocument, ClarisWksParserInternal::SubDocument, ClarisWksPRParserInternal::SubDocument, ClarisWksSSParserInternal::SubDocument, ZWrtParserInternal::SubDocument, MWAWChartInternal::SubDocument, and MWAWPageSpanInternal::SubDocument.

Referenced by operator!=(), BeagleWksDBParserInternal::SubDocument::operator!=(), MsWrd1ParserInternal::SubDocument::operator!=(), BeagleWksSSParserInternal::SubDocument::operator!=(), and operator==().

## ◆ operator!=() [2/2]

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

comparison operator!=

## ◆ operator=()

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

copy operator

## ◆ operator==() [1/2]

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

comparison operator==

## ◆ operator==() [2/2]

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

comparison operator==

## ◆ parse()

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

virtual parse function

this function is called to parse the subdocument

Implemented in MsWksGraphInternal::SubDocument, HanMacWrdJGraphInternal::SubDocument, HanMacWrdKGraphInternal::SubDocument, ClarisWksGraphInternal::SubDocument, ApplePictParserInternal::SubDocument, PowerPoint3ParserInternal::SubDocument, ClarisDrawGraphInternal::SubDocument, FreeHandParserInternal::SubDocument, WriterPlsParserInternal::SubDocument, ClarisWksTextInternal::SubDocument, PowerPoint7GraphInternal::SubDocument, MindWrtParserInternal::SubDocument, RagTime5GraphInternal::SubDocument, MsWksDBParserInternal::SubDocument, GreatWksGraphInternal::SubDocument, MarinerWrtGraphInternal::SubDocument, GreatWksDBParserInternal::SubDocument, MoreTextInternal::SubDocument, NisusWrtTextInternal::SubDocument, MacDraft5ParserInternal::SubDocument, MacDrawProParserInternal::SubDocument, HanMacWrdJTextInternal::SubDocument, RagTimeParserInternal::SubDocument, PowerPoint1ParserInternal::SubDocument, MacWrtParserInternal::SubDocument, CricketDrawParserInternal::SubDocument, BeagleWksTextInternal::SubDocument, MacDraftParserInternal::SubDocument, BeagleWksSSParserInternal::SubDocument, MacWrtProParserInternal::SubDocument, FullWrtParserInternal::SubDocument, MsWrd1ParserInternal::SubDocument, MsWrdParserInternal::SubDocument, ActaParserInternal::SubDocument, BeagleWksDBParserInternal::SubDocument, MsWksDocumentInternal::SubDocument, MacDrawParserInternal::SubDocument, MsWks3TextInternal::SubDocument, GreatWksSSParserInternal::SubDocument, DocMkrTextInternal::SubDocument, MarinerWrtParserInternal::SubDocument, BeagleWksDRParserInternal::SubDocument, ZWrtTextInternal::SubDocument, SuperPaintParserInternal::SubDocument, MsWksSSParserInternal::SubDocument, ClarisWksDocumentInternal::SubDocument, ClarisWksPresentationInternal::SubDocument, GreatWksParserInternal::SubDocument, MouseWrtParserInternal::SubDocument, HanMacWrdJParserInternal::SubDocument, MoreParserInternal::SubDocument, FullWrtGraphInternal::SubDocument, NisusWrtGraphInternal::SubDocument, HanMacWrdKParserInternal::SubDocument, LightWayTxtParserInternal::SubDocument, WriteNowParserInternal::SubDocument, ClarisWksParserInternal::SubDocument, ClarisWksPRParserInternal::SubDocument, ClarisWksSSParserInternal::SubDocument, ZWrtParserInternal::SubDocument, MWAWChartInternal::SubDocument, and MWAWPageSpanInternal::SubDocument.

Referenced by operator==().

## Member Data Documentation

## ◆ m_input

std::shared_ptr<MWAWInputStream> MWAWSubDocument::m_input
| protected

the input

Referenced by operator!=().

## ◆ m_parser

MWAWParser* MWAWSubDocument::m_parser
| protected

the main zone parser

Referenced by ClarisWksDocument::getMainParser(), and operator!=().

## ◆ m_zone

MWAWEntry MWAWSubDocument::m_zone
| protected

if valid the zone to parse

Referenced by operator!=().

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

- MWAWSubDocument.hxx
- MWAWSubDocument.cxx