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 More...
 
virtual bool operator!= (MWAWSubDocument const &doc) const
 operator!= More...
 
virtual bool operator== (MWAWSubDocument const &doc) const
 operator!== More...
 
int getId () const
 returns the subdocument id More...
 
void setId (int vid)
 sets the subdocument id More...
 
void parse (MWAWContentListenerPtr &listener, libmwaw::SubDocumentType type)
 the parser function More...
 
- Public Member Functions inherited from MWAWSubDocument
 MWAWSubDocument (MWAWParser *pars, MWAWInputStreamPtr ip, MWAWEntry const &z)
 constructor from parser, input stream and zone in the input More...
 
 MWAWSubDocument (MWAWSubDocument const &doc)
 copy constructor More...
 
MWAWSubDocumentoperator= (MWAWSubDocument const &doc)
 copy operator More...
 
virtual ~MWAWSubDocument ()
 virtual destructor More...
 
bool operator== (MWAWSubDocument const &doc) const
 comparison operator== More...
 
bool operator!= (shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator!= More...
 
bool operator== (shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator== More...
 
virtual void parseGraphic (MWAWGraphicListenerPtr &listener, libmwaw::SubDocumentType subDocumentType)
 virtual parse function More...
 

Protected Attributes

Type m_type
 the type More...
 
int m_id
 the subdocument id More...
 
int m_noteId
 the note id More...
 
- Protected Attributes inherited from MWAWSubDocument
MWAWParserm_parser
 the main zone parser More...
 
shared_ptr< MWAWInputStreamm_input
 the input More...
 
MWAWEntry m_zone
 if valid the zone to parse More...
 

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!==

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 Tue Mar 10 2015 17:32:11 for libmwaw by doxygen 1.8.5