Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
YAML_PM::EmitFromEvents Class Reference

#include <emitfromevents.h>

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

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)
 
- Public Member Functions inherited from YAML_PM::EventHandler
virtual ~EventHandler ()
 

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

◆ EmitFromEvents()

YAML_PM::EmitFromEvents::EmitFromEvents ( Emitter emitter)

Definition at line 17 of file emitfromevents.cpp.

Member Function Documentation

◆ BeginNode()

void YAML_PM::EmitFromEvents::BeginNode ( )
private

Definition at line 79 of file emitfromevents.cpp.

◆ EmitProps()

void YAML_PM::EmitFromEvents::EmitProps ( const std::string &  tag,
anchor_t  anchor 
)
private

Definition at line 98 of file emitfromevents.cpp.

◆ OnAlias()

void YAML_PM::EmitFromEvents::OnAlias ( const Mark mark,
anchor_t  anchor 
)
virtual

Implements YAML_PM::EventHandler.

Definition at line 36 of file emitfromevents.cpp.

◆ OnDocumentEnd()

void YAML_PM::EmitFromEvents::OnDocumentEnd ( )
virtual

Implements YAML_PM::EventHandler.

Definition at line 25 of file emitfromevents.cpp.

◆ OnDocumentStart()

void YAML_PM::EmitFromEvents::OnDocumentStart ( const Mark mark)
virtual

Implements YAML_PM::EventHandler.

Definition at line 21 of file emitfromevents.cpp.

◆ OnMapEnd()

void YAML_PM::EmitFromEvents::OnMapEnd ( )
virtual

Implements YAML_PM::EventHandler.

Definition at line 72 of file emitfromevents.cpp.

◆ OnMapStart()

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.

◆ OnNull()

void YAML_PM::EmitFromEvents::OnNull ( const Mark mark,
anchor_t  anchor 
)
virtual

Implements YAML_PM::EventHandler.

Definition at line 29 of file emitfromevents.cpp.

◆ OnScalar()

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.

◆ OnSequenceEnd()

void YAML_PM::EmitFromEvents::OnSequenceEnd ( )
virtual

Implements YAML_PM::EventHandler.

Definition at line 57 of file emitfromevents.cpp.

◆ OnSequenceStart()

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

◆ m_emitter

Emitter& YAML_PM::EmitFromEvents::m_emitter
private

Definition at line 38 of file emitfromevents.h.

◆ m_stateStack

std::stack<State::value> YAML_PM::EmitFromEvents::m_stateStack
private

Definition at line 41 of file emitfromevents.h.


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


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:04