XMLCollector.cpp File Reference documentation

Classes | Namespaces | Macros
XMLCollector.cpp File Reference
`#include <boost/optional.hpp>`
`#include <stack>`
`#include "libebook_utils.h"`
`#include "XMLCollector.h"`
`#include "EBOOKOutputElements.h"`

## Classes
struct | libebook::XMLCollector::State

## Namespaces
namespace | libebook

## Macros
#define | TR_SoftBookL(c, e, n, a, r) {c, e, n, a, r}
#define | TR(c, e, a) TR_SoftBookL(c, e, c, a, false)
#define | TR_R(c, e, a) TR_SoftBookL(c, e, c, a, true)
#define | TR_NEW(c, e, n, a) TR_SoftBookL(c, e, n, a, false)
#define | TR_NEW_R(c, e, n, a) TR_SoftBookL(c, e, n, a, true)
#define | TR_ANY(c, e, a) TR_SoftBookL(c, e, c, a, false)
#define | TR_ANY_R(c, e, a) TR_SoftBookL(c, e, c, a, true)

## Macro Definition Documentation

## ◆ TR

#define TR | ( |  | c,
|  |  | e,
|  |  | a
| ) |  | TR_SoftBookL(c, e, c, a, false)

## ◆ TR_ANY

#define TR_ANY | ( |  | c,
|  |  | e,
|  |  | a
| ) |  | TR_SoftBookL(c, e, c, a, false)

## ◆ TR_ANY_R

#define TR_ANY_R | ( |  | c,
|  |  | e,
|  |  | a
| ) |  | TR_SoftBookL(c, e, c, a, true)

## ◆ TR_NEW

#define TR_NEW | ( |  | c,
|  |  | e,
|  |  | n,
|  |  | a
| ) |  | TR_SoftBookL(c, e, n, a, false)

## ◆ TR_NEW_R

#define TR_NEW_R | ( |  | c,
|  |  | e,
|  |  | n,
|  |  | a
| ) |  | TR_SoftBookL(c, e, n, a, true)

## ◆ TR_R

#define TR_R | ( |  | c,
|  |  | e,
|  |  | a
| ) |  | TR_SoftBookL(c, e, c, a, true)

## ◆ TR_SoftBookL

#define TR_SoftBookL | ( |  | c,
|  |  | e,
|  |  | n,
|  |  | a,
|  |  | r
| ) |  | {c, e, n, a, r}

## Variable Documentation

## ◆ action

ActionFun_t action

## ◆ artificial

bool artificial

## ◆ context

ContextType context

Referenced by ebookXMLReadFromStream(), libebook::FictionBook2Parser::parse(), libebook::FictionBook2Parser::parse(), and libebook::EBOOKHTMLParser::readTreeImpl().

## ◆ continued

bool continued

Indicates that this is a continuation of an interrupted context.

It will not be added into output if it is empty.

## ◆ event

EventType event

## ◆ m_closed

bool m_closed
| private

## ◆ m_closeFun

CloseFun_t m_closeFun
| private

## ◆ m_continued

bool m_continued
| private

## ◆ m_data

shared_ptr<XMLCollector::State> m_data
| private

## ◆ m_dummy

bool m_dummy
| private

## ◆ m_init

ContextType m_init
| private

## ◆ m_open

bool m_open
| private

## ◆ m_openFun

OpenFun_t m_openFun
| private

## ◆ m_output

EBOOKOutputElements& m_output
| private

## ◆ m_parent

const OutputHandlerPtr_t m_parent
| private

## ◆ m_propList

RVNGPropertyList m_propList
| private

## ◆ m_queue

EventQueue_t m_queue
| private

## ◆ m_state

const shared_ptr<XMLCollector::State> m_state
| private

## ◆ m_transitions

TransitionTable_t m_transitions
| private

## ◆ newContext

ContextType newContext

Referenced by libebook::EBOOKXMLParser::parse().

## ◆ output

OutputHandlerPtr_t output

## ◆ repeat

bool repeat

## ◆ restore

bool restore

Restore one (or more) contexts on close.

## ◆ restoring

bool restoring

Indicate whether restoring should continue with another context.

In other words, @true means that this context is inside a list of contexts that should be restored together.

## ◆ type

EventType type