XMLCollector.cpp File Reference documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

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

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

## Namespaces
| libebook

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

## Enumerations
enum | ContextType
enum | EventType

## Macro Definition Documentation

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

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

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

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

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

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

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

## Variable Documentation

ActionFun_t action

bool artificial

ContextType context

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

bool continued

Indicates that this is a continuation of an interrupted context.

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

EventType event

bool m_closed

CloseFun_t m_closeFun

bool m_continued

shared_ptr<XMLCollector::State> m_data

bool m_dummy

ContextType m_init

bool m_open

OpenFun_t m_openFun

EBOOKOutputElements& m_output

const OutputHandlerPtr_t m_parent

RVNGPropertyList m_propList

EventQueue_t m_queue

const shared_ptr<XMLCollector::State> m_state

TransitionTable_t m_transitions

ContextType newContext

OutputHandlerPtr_t output

bool repeat

bool restore

Restore one (or more) contexts on close.

bool restoring

Indicate whether restoring should continue with another context.

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

EventType type