Classes | Public Member Functions | Private Member Functions | Private Attributes
YAML_PM::EmitFromEvents Class Reference

#include <emitfromevents.h>

Inheritance diagram for YAML_PM::EmitFromEvents:
Inheritance graph
[legend]

List of all members.

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

Emitterm_emitter
std::stack< State::valuem_stateStack

Detailed Description

Definition at line 15 of file emitfromevents.h.


Constructor & Destructor Documentation

Definition at line 17 of file emitfromevents.cpp.


Member Function Documentation

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.

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.

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.

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.


Member Data Documentation

Definition at line 38 of file emitfromevents.h.

Definition at line 41 of file emitfromevents.h.


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


upstream_src
Author(s):
autogenerated on Mon Oct 6 2014 10:27:43