WPS8ParserInternal::SubDocument Class Reference

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

Inheritance diagram for WPS8ParserInternal::SubDocument:
WPSSubDocument

List of all members.

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
 ~SubDocument ()
 destructor
virtual bool operator== (shared_ptr< WPSSubDocument > const &doc) const
 operator==
void parse (shared_ptr< WPSContentListener > &listener, libwps::SubDocumentType subDocumentType)
 the parser function
- Public Member Functions inherited from WPSSubDocument
 WPSSubDocument (WPXInputStreamPtr &input, WPSParser *parser, int id=0)
 constructor
virtual ~WPSSubDocument ()
 destructor
WPXInputStreamPtrgetInput ()
 returns the input
WPSParserparser () const
 returns the parser
int id () const
 get the identificator
void setId (int i)
 set the identificator
bool operator!= (shared_ptr< WPSSubDocument > const &doc) const

Public Attributes

WPSEntry m_entry
 the entry

Additional Inherited Members

- Protected Attributes inherited from WPSSubDocument
WPXInputStreamPtr m_input
WPSParserm_parser
int m_id

Detailed Description

Internal: the subdocument of a WPS8Parser.


Member Enumeration Documentation

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
inlinevirtual

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:

Generated on Sat May 25 2013 14:14:28 for libwps by doxygen 1.8.1.1