MSK4ParserInternal::SubDocument Class Reference

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

Inheritance diagram for MSK4ParserInternal::SubDocument:
MWAWSubDocument

Public Types

enum  Type { Unknown, MN }
 type of an entry stored in textId More...

Public Member Functions

 SubDocument (MSK4Zone *pars, MWAWInputStreamPtr input, int ntId)
 constructor for a note with identificator ntId
 SubDocument (MSK4Zone *pars, MWAWInputStreamPtr input, MWAWEntry const &entry)
 constructor for a text/frame entry
 ~SubDocument ()
 destructor
virtual bool operator!= (MWAWSubDocument const &doc) const
 operator!=
virtual bool operator== (MWAWSubDocument const &doc) const
 operator==
void parse (MWAWContentListenerPtr &listener, libmwaw::SubDocumentType type)
 the parser function
- Public Member Functions inherited from MWAWSubDocument
 MWAWSubDocument (MWAWParser *pars, MWAWInputStreamPtr ip, MWAWEntry const &z)
 constructor from parser, input stream and zone in the input
 MWAWSubDocument (MWAWSubDocument const &doc)
 copy constructor
MWAWSubDocumentoperator= (MWAWSubDocument const &doc)
 copy operator
virtual ~MWAWSubDocument ()
 virtual destructor
bool operator!= (shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator!=
bool operator== (shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator==

Protected Attributes

int m_noteId
 the note identificator
- Protected Attributes inherited from MWAWSubDocument
MWAWParserm_parser
 the main zone parser
shared_ptr< MWAWInputStreamm_input
 the input
MWAWEntry m_zone
 if valid the zone to parse

Detailed Description

Internal: the subdocument of a MSK4Parser.

Member Enumeration Documentation

type of an entry stored in textId

Enumerator:
Unknown 
MN 

Constructor & Destructor Documentation

MSK4ParserInternal::SubDocument::SubDocument ( MSK4Zone pars,
MWAWInputStreamPtr  input,
int  ntId 
)
inline

constructor for a note with identificator ntId

MSK4ParserInternal::SubDocument::SubDocument ( MSK4Zone pars,
MWAWInputStreamPtr  input,
MWAWEntry const &  entry 
)
inline

constructor for a text/frame entry

MSK4ParserInternal::SubDocument::~SubDocument ( )
inline

destructor

Member Function Documentation

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

operator!=

Reimplemented from MWAWSubDocument.

Referenced by operator==().

virtual bool MSK4ParserInternal::SubDocument::operator== ( MWAWSubDocument const &  doc) const
inlinevirtual

operator==

Reimplemented from MWAWSubDocument.

void MSK4ParserInternal::SubDocument::parse ( MWAWContentListenerPtr listener,
libmwaw::SubDocumentType  type 
)
virtual

the parser function

Implements MWAWSubDocument.

Member Data Documentation

int MSK4ParserInternal::SubDocument::m_noteId
protected

the note identificator

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


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

Generated on Wed May 22 2013 18:12:48 for libmwaw by doxygen 1.8.1.2