MSK3ParserInternal::SubDocument Class Reference

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

Inheritance diagram for MSK3ParserInternal::SubDocument:
MWAWSubDocument

Public Types

enum  Type { Zone, Text }

Public Member Functions

 SubDocument (MSK3Parser &pars, MWAWInputStreamPtr input, Type type, int zoneId, int noteId=-1)
virtual ~SubDocument ()
 destructor
virtual bool operator!= (MWAWSubDocument const &doc) const
 operator!=
virtual bool operator== (MWAWSubDocument const &doc) const
 operator!==
int getId () const
 returns the subdocument id
void setId (int vid)
 sets the subdocument id
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

Type m_type
 the type
int m_id
 the subdocument id
int m_noteId
 the note id
- 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 MSK3Parser.

Member Enumeration Documentation

Enumerator:
Zone 
Text 

Constructor & Destructor Documentation

MSK3ParserInternal::SubDocument::SubDocument ( MSK3Parser pars,
MWAWInputStreamPtr  input,
Type  type,
int  zoneId,
int  noteId = -1 
)
inline
virtual MSK3ParserInternal::SubDocument::~SubDocument ( )
inlinevirtual

destructor

Member Function Documentation

int MSK3ParserInternal::SubDocument::getId ( ) const
inline

returns the subdocument id

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

operator!=

Reimplemented from MWAWSubDocument.

Referenced by operator==().

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

operator!==

Reimplemented from MWAWSubDocument.

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

the parser function

Implements MWAWSubDocument.

void MSK3ParserInternal::SubDocument::setId ( int  vid)
inline

sets the subdocument id

Member Data Documentation

int MSK3ParserInternal::SubDocument::m_id
protected

the subdocument id

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

int MSK3ParserInternal::SubDocument::m_noteId
protected

the note id

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

Type MSK3ParserInternal::SubDocument::m_type
protected

the type

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