STOFFSubDocument Class Referenceabstract

abstract class used to store a subdocument (with a comparison function) More...

#include <STOFFSubDocument.hxx>

Inheritance diagram for STOFFSubDocument:
SDGParserInternal::SubDocument StarCharAttribute::SubDocument StarObjectSmallGraphicInternal::SubDocument StarObjectSpreadsheetInternal::SubDocument StarObjectTextInternal::SubDocument StarPageAttribute::SubDocument STOFFChartInternal::SubDocument SWFieldManagerInternal::SubDocument

Public Member Functions

 STOFFSubDocument (STOFFParser *pars, STOFFInputStreamPtr ip, STOFFEntry const &z)
 constructor from parser, input stream and zone in the input More...
 
 STOFFSubDocument (STOFFSubDocument const &doc)
 copy constructor More...
 
STOFFSubDocumentoperator= (STOFFSubDocument const &doc)
 copy operator More...
 
virtual ~STOFFSubDocument ()
 virtual destructor More...
 
virtual bool operator!= (STOFFSubDocument const &doc) const
 comparison operator!= More...
 
bool operator== (STOFFSubDocument const &doc) const
 comparison operator== More...
 
bool operator!= (std::shared_ptr< STOFFSubDocument > const &doc) const
 comparison operator!= More...
 
bool operator== (std::shared_ptr< STOFFSubDocument > const &doc) const
 comparison operator== More...
 
virtual void parse (STOFFListenerPtr &listener, libstoff::SubDocumentType subDocumentType)=0
 virtual parse function More...
 

Protected Attributes

STOFFParserm_parser
 the main zone parser More...
 
std::shared_ptr< STOFFInputStreamm_input
 the input More...
 
STOFFEntry m_zone
 if valid the zone to parse More...
 

Detailed Description

abstract class used to store a subdocument (with a comparison function)

Constructor & Destructor Documentation

◆ STOFFSubDocument() [1/2]

STOFFSubDocument::STOFFSubDocument ( STOFFParser pars,
STOFFInputStreamPtr  ip,
STOFFEntry const &  z 
)

constructor from parser, input stream and zone in the input

◆ STOFFSubDocument() [2/2]

STOFFSubDocument::STOFFSubDocument ( STOFFSubDocument const &  doc)
explicit

copy constructor

◆ ~STOFFSubDocument()

STOFFSubDocument::~STOFFSubDocument ( )
virtual

virtual destructor

Member Function Documentation

◆ operator!=() [1/2]

◆ operator!=() [2/2]

bool STOFFSubDocument::operator!= ( std::shared_ptr< STOFFSubDocument > const &  doc) const

comparison operator!=

◆ operator=()

STOFFSubDocument & STOFFSubDocument::operator= ( STOFFSubDocument const &  doc)

copy operator

◆ operator==() [1/2]

bool STOFFSubDocument::operator== ( STOFFSubDocument const &  doc) const
inline

comparison operator==

◆ operator==() [2/2]

bool STOFFSubDocument::operator== ( std::shared_ptr< STOFFSubDocument > const &  doc) const
inline

comparison operator==

◆ parse()

Member Data Documentation

◆ m_input

std::shared_ptr<STOFFInputStream> STOFFSubDocument::m_input
protected

the input

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

◆ m_parser

STOFFParser* STOFFSubDocument::m_parser
protected

the main zone parser

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

◆ m_zone

STOFFEntry STOFFSubDocument::m_zone
protected

if valid the zone to parse

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


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

Generated on Sat May 29 2021 22:54:04 for libstaroffice by doxygen 1.8.14