libetonyek::PAG1AnnotationContext Class Reference

`#include <PAG1AnnotationContext.h>`

Inheritance diagram for libetonyek::PAG1AnnotationContext:

## Public Types
typedef boost::function< void(const std::string &)> | CollectFunction_t

## Public Member Functions
| PAG1AnnotationContext (PAG1ParserState &state, const CollectFunction_t &collect)
Public Member Functions inherited from libetonyek::PAG1XMLContextBase< IWORKXMLContextElement >
| PAG1XMLContextBase (PAG1ParserState &state)
| PAG1XMLContextBase (PAG1ParserState &state, T1 arg1)
Public Member Functions inherited from libetonyek::IWORKXMLContextBase< Base, State, Collector >
| IWORKXMLContextBase (State &state)
template<typename T>
| IWORKXMLContextBase (State &state, const T &a)
State & | getState ()

## Private Member Functions
void | startOfElement () override
void | attribute (int name, const char *value) override
IWORKXMLContextPtr_t | element (int name) override
void | endOfElement () override

## Private Attributes
const CollectFunction_t | m_collect
boost::optional< std::string > | m_target

## Additional Inherited Members
Protected Member Functions inherited from libetonyek::IWORKXMLContextBase< Base, State, Collector >
Collector & | getCollector () const
int | getToken (const char *const value) const
bool | isCollector () const
Protected Attributes inherited from libetonyek::IWORKXMLContextBase< Base, State, Collector >
State & | m_state

## Member Typedef Documentation

## ◆ CollectFunction_t

typedef boost::function<void(const std::string &)> libetonyek::PAG1AnnotationContext::CollectFunction_t

## Constructor & Destructor Documentation

## ◆ PAG1AnnotationContext()

libetonyek::PAG1AnnotationContext::PAG1AnnotationContext | ( | PAG1ParserState & | state,
|  | const CollectFunction_t & | collect )

## Member Function Documentation

## ◆ attribute()

void libetonyek::PAG1AnnotationContext::attribute | ( | int | name,
|  | const char * | value )
| override private

## ◆ element()

IWORKXMLContextPtr_t libetonyek::PAG1AnnotationContext::element | ( | int | name | ) |
| override private

## ◆ endOfElement()

void libetonyek::PAG1AnnotationContext::endOfElement | ( |  | ) |
| override private

## ◆ startOfElement()

void libetonyek::PAG1AnnotationContext::startOfElement | ( |  | ) |
| override private

## Member Data Documentation

## ◆ m_collect

const CollectFunction_t libetonyek::PAG1AnnotationContext::m_collect
| private

Referenced by endOfElement(), and PAG1AnnotationContext().

## ◆ m_target

boost::optional<std::string> libetonyek::PAG1AnnotationContext::m_target
| private

Referenced by attribute(), endOfElement(), and PAG1AnnotationContext().

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

- PAG1AnnotationContext.h
- PAG1AnnotationContext.cpp