MacDrawProParserInternal::SubDocument Class Referencefinal

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

Inheritance diagram for MacDrawProParserInternal::SubDocument:
MWAWSubDocument

Public Member Functions

 SubDocument (MacDrawProParser &pars, MWAWInputStreamPtr const &input, int zoneId)
 constructor given an zone id More...
 
 SubDocument (MacDrawProParser &pars, MWAWInputStreamPtr const &input, MWAWEntry const &measureEntry)
 constructor given a measure entry More...
 
 ~SubDocument () final
 destructor More...
 
bool operator!= (MWAWSubDocument const &doc) const final
 operator!= More...
 
void parse (MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
 the parser function More...
 
- Public Member Functions inherited from MWAWSubDocument
 MWAWSubDocument (MWAWParser *pars, MWAWInputStreamPtr const &ip, MWAWEntry const &z)
 constructor from parser, input stream and zone in the input More...
 
 MWAWSubDocument (MWAWSubDocument const &doc)=default
 copy constructor More...
 
MWAWSubDocumentoperator= (MWAWSubDocument const &doc)=default
 copy operator More...
 
virtual ~MWAWSubDocument ()
 virtual destructor More...
 
bool operator== (MWAWSubDocument const &doc) const
 comparison operator== More...
 
bool operator!= (std::shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator!= More...
 
bool operator== (std::shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator== More...
 

Protected Attributes

int m_id
 the subdocument id More...
 
MWAWEntry m_measureEntry
 the measure entry More...
 
- Protected Attributes inherited from MWAWSubDocument
MWAWParserm_parser
 the main zone parser More...
 
std::shared_ptr< MWAWInputStreamm_input
 the input More...
 
MWAWEntry m_zone
 if valid the zone to parse More...
 

Private Member Functions

 SubDocument (SubDocument const &orig)=delete
 
SubDocumentoperator= (SubDocument const &orig)=delete
 

Detailed Description

Internal: the subdocument of a MacDrawProParser.

Constructor & Destructor Documentation

◆ SubDocument() [1/3]

MacDrawProParserInternal::SubDocument::SubDocument ( MacDrawProParser pars,
MWAWInputStreamPtr const &  input,
int  zoneId 
)
inline

constructor given an zone id

◆ SubDocument() [2/3]

MacDrawProParserInternal::SubDocument::SubDocument ( MacDrawProParser pars,
MWAWInputStreamPtr const &  input,
MWAWEntry const &  measureEntry 
)
inline

constructor given a measure entry

◆ ~SubDocument()

MacDrawProParserInternal::SubDocument::~SubDocument ( )
inlinefinal

destructor

◆ SubDocument() [3/3]

MacDrawProParserInternal::SubDocument::SubDocument ( SubDocument const &  orig)
privatedelete

Member Function Documentation

◆ operator!=()

bool MacDrawProParserInternal::SubDocument::operator!= ( MWAWSubDocument const &  doc) const
inlinefinalvirtual

operator!=

Reimplemented from MWAWSubDocument.

◆ operator=()

SubDocument& MacDrawProParserInternal::SubDocument::operator= ( SubDocument const &  orig)
privatedelete

◆ parse()

void MacDrawProParserInternal::SubDocument::parse ( MWAWListenerPtr listener,
libmwaw::SubDocumentType  type 
)
finalvirtual

the parser function

Implements MWAWSubDocument.

Member Data Documentation

◆ m_id

int MacDrawProParserInternal::SubDocument::m_id
protected

the subdocument id

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

◆ m_measureEntry

MWAWEntry MacDrawProParserInternal::SubDocument::m_measureEntry
protected

the measure entry

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


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

Generated for libmwaw by doxygen 1.8.14