libebook::FictionBook2SupContext Class Reference

#include <FictionBook2TextContext.h>

Inheritance diagram for libebook::FictionBook2SupContext:
libebook::FictionBook2StyleContextBase libebook::FictionBook2ParserContext libebook::FictionBook2XMLParserContext

Public Member Functions

 FictionBook2SupContext (std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Style &style)
Public Member Functions inherited from libebook::FictionBook2StyleContextBase
 FictionBook2StyleContextBase (std::shared_ptr< FictionBook2ParserContext > parentContext, const FictionBook2Style &style)
Public Member Functions inherited from libebook::FictionBook2ParserContext
 FictionBook2ParserContext (std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Collector *collector=nullptr)
 Create a new context with parentContext as parent.
virtual ~FictionBook2ParserContext ()
std::shared_ptr< FictionBook2XMLParserContextleaveContext () const override
 Destroy this context and return parent.
FictionBook2CollectorgetCollector () const
 Get the collector.
std::shared_ptr< FictionBook2ParserContextgetParentContext () const
 Get the parent context.
Public Member Functions inherited from libebook::FictionBook2XMLParserContext
virtual ~FictionBook2XMLParserContext ()=0

Private Member Functions

void startOfElement () override
 Signalize the start of an element.

Additional Inherited Members

Protected Member Functions inherited from libebook::FictionBook2StyleContextBase
FictionBook2StylegetStyle ()
FictionBook2TextFormatgetTextFormat ()
std::shared_ptr< FictionBook2XMLParserContextelement (const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override
 Create a context for parsing a child element.
void endOfElement () override
 Signalize the end of an element.
void attribute (const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override
 Process an attribute.
void endOfAttributes () override
 Signalize the end of attributes.
void text (const char *value) override
 Process textual content of an element.

Constructor & Destructor Documentation

◆ FictionBook2SupContext()

libebook::FictionBook2SupContext::FictionBook2SupContext ( std::shared_ptr< FictionBook2ParserContext > parentContext,
FictionBook2Style & style )

Member Function Documentation

◆ startOfElement()

void libebook::FictionBook2SupContext::startOfElement ( )
overrideprivatevirtual

Signalize the start of an element.

This can be used if initialization of the context needs virtual function calls.

Implements libebook::FictionBook2XMLParserContext.


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

Generated for libe-book by doxygen 1.16.1