WPS8ParserInternal::SubDocument Class Reference

Internal: the subdocument of a WPS8Parser. More...

Inheritance diagram for WPS8ParserInternal::SubDocument:

## Public Types

enum | Type { Unknown, TEXT }
| type of an entry More...

## Public Member Functions

| SubDocument (WPXInputStreamPtr input, WPS8Parser &pars, WPSEntry const &entry)
| constructor for a text entry More...
| ~SubDocument ()
| destructor More...
virtual bool | operator== (shared_ptr< WPSSubDocument > const &doc) const
| operator== More...
void | parse (shared_ptr< WPSContentListener > &listener, libwps::SubDocumentType subDocumentType)
| the parser function More...
Public Member Functions inherited from WPSSubDocument
| WPSSubDocument (WPXInputStreamPtr &input, WPSParser *parser, int id=0)
| constructor More...
virtual | ~WPSSubDocument ()
| destructor More...
WPXInputStreamPtr & | getInput ()
| returns the input More...
WPSParser * | parser () const
| returns the parser More...
int | id () const
| get the identificator More...
void | setId (int i)
| set the identificator More...
bool | operator!= (shared_ptr< WPSSubDocument > const &doc) const

## Public Attributes

WPSEntry | m_entry
| the entry More...

## Additional Inherited Members

Protected Attributes inherited from WPSSubDocument
WPXInputStreamPtr | m_input
WPSParser * | m_parser
int | m_id

## Detailed Description

Internal: the subdocument of a WPS8Parser.

## Member Enumeration Documentation

enum WPS8ParserInternal::SubDocument::Type

type of an entry

Enumerator
Unknown |
TEXT |

## Constructor & Destructor Documentation

WPS8ParserInternal::SubDocument::SubDocument | ( | WPXInputStreamPtr | input,
|  | WPS8Parser & | pars,
|  | WPSEntry const & | entry
| ) |  |

inline

constructor for a text entry

WPS8ParserInternal::SubDocument::~SubDocument | ( |  | ) |

inline

destructor

## Member Function Documentation

virtual bool WPS8ParserInternal::SubDocument::operator== | ( | shared_ptr< WPSSubDocument > const & | doc | ) | const

inline virtual

operator==

Reimplemented from WPSSubDocument.

void WPS8ParserInternal::SubDocument::parse | ( | shared_ptr< WPSContentListener > & | listener,
|  | libwps::SubDocumentType | subDocumentType
| ) |  |

virtual

the parser function

Implements WPSSubDocument.

## Member Data Documentation

WPSEntry WPS8ParserInternal::SubDocument::m_entry

the entry

Referenced by operator==(), and parse().

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

- WPS8.cpp