libebook::FictionBook2BlockFormatContextBase Class Reference

#include <FictionBook2ParserContext.h>

Inheritance diagram for libebook::FictionBook2BlockFormatContextBase:
libebook::FictionBook2NodeContextBase libebook::FictionBook2ParserContext libebook::FictionBook2XMLParserContext libebook::FictionBook2AnnotationContext libebook::FictionBook2CiteContext libebook::FictionBook2EpigraphContext libebook::FictionBook2PoemContext libebook::FictionBook2StanzaContext libebook::FictionBook2TableContext libebook::FictionBook2TitleContext libebook::FictionBook2TrContext

Public Member Functions

 FictionBook2BlockFormatContextBase (std::shared_ptr< FictionBook2ParserContext > parentContext, const FictionBook2BlockFormat &format)
 
FictionBook2BlockFormatgetBlockFormat ()
 
const FictionBook2BlockFormatgetBlockFormat () const
 
void setLang (const char *lang)
 
- Public Member Functions inherited from libebook::FictionBook2NodeContextBase
 FictionBook2NodeContextBase (std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Collector *collector=nullptr)
 
- Public Member Functions inherited from libebook::FictionBook2ParserContext
 FictionBook2ParserContext (std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Collector *collector=nullptr)
 Create a new context with parentContext as parent. More...
 
virtual ~FictionBook2ParserContext ()
 
std::shared_ptr< FictionBook2XMLParserContextleaveContext () const override
 Destroy this context and return parent. More...
 
FictionBook2CollectorgetCollector () const
 Get the collector. More...
 
std::shared_ptr< FictionBook2ParserContextgetParentContext () const
 Get the parent context. More...
 
- Public Member Functions inherited from libebook::FictionBook2XMLParserContext
virtual ~FictionBook2XMLParserContext ()=0
 
virtual std::shared_ptr< FictionBook2XMLParserContextelement (const FictionBook2TokenData &name, const FictionBook2TokenData &ns)=0
 Create a context for parsing a child element. More...
 
virtual void endOfElement ()=0
 Signalize the end of an element. More...
 
virtual void attribute (const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value)=0
 Process an attribute. More...
 

Private Attributes

FictionBook2BlockFormat m_format
 

Constructor & Destructor Documentation

libebook::FictionBook2BlockFormatContextBase::FictionBook2BlockFormatContextBase ( std::shared_ptr< FictionBook2ParserContext parentContext,
const FictionBook2BlockFormat format 
)

Member Function Documentation

const FictionBook2BlockFormat & libebook::FictionBook2BlockFormatContextBase::getBlockFormat ( ) const

Member Data Documentation

FictionBook2BlockFormat libebook::FictionBook2BlockFormatContextBase::m_format
private

Referenced by getBlockFormat(), and setLang().


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

Generated for libe-book by doxygen 1.8.10