#include <emitfromevents.h>
Classes | |
struct | State |
Public Member Functions | |
EmitFromEvents (Emitter &emitter) | |
virtual void | OnAlias (const Mark &mark, anchor_t anchor) |
virtual void | OnDocumentEnd () |
virtual void | OnDocumentStart (const Mark &mark) |
virtual void | OnMapEnd () |
virtual void | OnMapStart (const Mark &mark, const std::string &tag, anchor_t anchor) |
virtual void | OnNull (const Mark &mark, anchor_t anchor) |
virtual void | OnScalar (const Mark &mark, const std::string &tag, anchor_t anchor, const std::string &value) |
virtual void | OnSequenceEnd () |
virtual void | OnSequenceStart (const Mark &mark, const std::string &tag, anchor_t anchor) |
Private Member Functions | |
void | BeginNode () |
void | EmitProps (const std::string &tag, anchor_t anchor) |
Private Attributes | |
Emitter & | m_emitter |
std::stack< State::value > | m_stateStack |
Definition at line 15 of file emitfromevents.h.
YAML_PM::EmitFromEvents::EmitFromEvents | ( | Emitter & | emitter | ) |
Definition at line 17 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::BeginNode | ( | ) | [private] |
Definition at line 79 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::EmitProps | ( | const std::string & | tag, |
anchor_t | anchor | ||
) | [private] |
Definition at line 98 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::OnAlias | ( | const Mark & | mark, |
anchor_t | anchor | ||
) | [virtual] |
Implements YAML_PM::EventHandler.
Definition at line 36 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::OnDocumentEnd | ( | ) | [virtual] |
Implements YAML_PM::EventHandler.
Definition at line 25 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::OnDocumentStart | ( | const Mark & | mark | ) | [virtual] |
Implements YAML_PM::EventHandler.
Definition at line 21 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::OnMapEnd | ( | ) | [virtual] |
Implements YAML_PM::EventHandler.
Definition at line 72 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::OnMapStart | ( | const Mark & | mark, |
const std::string & | tag, | ||
anchor_t | anchor | ||
) | [virtual] |
Implements YAML_PM::EventHandler.
Definition at line 64 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::OnNull | ( | const Mark & | mark, |
anchor_t | anchor | ||
) | [virtual] |
Implements YAML_PM::EventHandler.
Definition at line 29 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::OnScalar | ( | const Mark & | mark, |
const std::string & | tag, | ||
anchor_t | anchor, | ||
const std::string & | value | ||
) | [virtual] |
Implements YAML_PM::EventHandler.
Definition at line 42 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::OnSequenceEnd | ( | ) | [virtual] |
Implements YAML_PM::EventHandler.
Definition at line 57 of file emitfromevents.cpp.
void YAML_PM::EmitFromEvents::OnSequenceStart | ( | const Mark & | mark, |
const std::string & | tag, | ||
anchor_t | anchor | ||
) | [virtual] |
Implements YAML_PM::EventHandler.
Definition at line 49 of file emitfromevents.cpp.
Emitter& YAML_PM::EmitFromEvents::m_emitter [private] |
Definition at line 38 of file emitfromevents.h.
std::stack<State::value> YAML_PM::EmitFromEvents::m_stateStack [private] |
Definition at line 41 of file emitfromevents.h.