Public Member Functions | Private Types | Private Member Functions | Private Attributes
YAML_PM::NodeBuilder Class Reference

#include <nodebuilder.h>

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

List of all members.

Public Member Functions

 NodeBuilder (Node &root)
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)
virtual ~NodeBuilder ()

Private Types

typedef std::vector< Node * > Anchors

Private Member Functions

void Insert (Node &node)
void Pop ()
NodePush (anchor_t anchor)
NodePush ()
void RegisterAnchor (anchor_t anchor, Node &node)
NodeTop ()

Private Attributes

Anchors m_anchors
std::stack< bool > m_didPushKey
bool m_finished
bool m_initializedRoot
std::stack< Node * > m_pendingKeys
Nodem_root
std::stack< Node * > m_stack

Detailed Description

Definition at line 18 of file nodebuilder.h.


Member Typedef Documentation

typedef std::vector<Node *> YAML_PM::NodeBuilder::Anchors [private]

Definition at line 55 of file nodebuilder.h.


Constructor & Destructor Documentation

YAML_PM::NodeBuilder::NodeBuilder ( Node root) [explicit]

Definition at line 8 of file nodebuilder.cpp.

Definition at line 14 of file nodebuilder.cpp.


Member Function Documentation

void YAML_PM::NodeBuilder::Insert ( Node node) [private]

Definition at line 110 of file nodebuilder.cpp.

void YAML_PM::NodeBuilder::OnAlias ( const Mark mark,
anchor_t  anchor 
) [virtual]

Implements YAML_PM::EventHandler.

Definition at line 34 of file nodebuilder.cpp.

Implements YAML_PM::EventHandler.

Definition at line 22 of file nodebuilder.cpp.

void YAML_PM::NodeBuilder::OnDocumentStart ( const Mark mark) [virtual]

Implements YAML_PM::EventHandler.

Definition at line 18 of file nodebuilder.cpp.

void YAML_PM::NodeBuilder::OnMapEnd ( ) [virtual]

Implements YAML_PM::EventHandler.

Definition at line 67 of file nodebuilder.cpp.

void YAML_PM::NodeBuilder::OnMapStart ( const Mark mark,
const std::string &  tag,
anchor_t  anchor 
) [virtual]

Implements YAML_PM::EventHandler.

Definition at line 60 of file nodebuilder.cpp.

void YAML_PM::NodeBuilder::OnNull ( const Mark mark,
anchor_t  anchor 
) [virtual]

Implements YAML_PM::EventHandler.

Definition at line 27 of file nodebuilder.cpp.

void YAML_PM::NodeBuilder::OnScalar ( const Mark mark,
const std::string &  tag,
anchor_t  anchor,
const std::string &  value 
) [virtual]

Implements YAML_PM::EventHandler.

Definition at line 41 of file nodebuilder.cpp.

Implements YAML_PM::EventHandler.

Definition at line 55 of file nodebuilder.cpp.

void YAML_PM::NodeBuilder::OnSequenceStart ( const Mark mark,
const std::string &  tag,
anchor_t  anchor 
) [virtual]

Implements YAML_PM::EventHandler.

Definition at line 49 of file nodebuilder.cpp.

void YAML_PM::NodeBuilder::Pop ( ) [private]

Definition at line 97 of file nodebuilder.cpp.

Node & YAML_PM::NodeBuilder::Push ( anchor_t  anchor) [private]

Definition at line 73 of file nodebuilder.cpp.

Definition at line 80 of file nodebuilder.cpp.

void YAML_PM::NodeBuilder::RegisterAnchor ( anchor_t  anchor,
Node node 
) [private]

Definition at line 138 of file nodebuilder.cpp.

Definition at line 92 of file nodebuilder.cpp.


Member Data Documentation

Definition at line 56 of file nodebuilder.h.

std::stack<bool> YAML_PM::NodeBuilder::m_didPushKey [private]

Definition at line 53 of file nodebuilder.h.

Definition at line 49 of file nodebuilder.h.

Definition at line 48 of file nodebuilder.h.

std::stack<Node *> YAML_PM::NodeBuilder::m_pendingKeys [private]

Definition at line 52 of file nodebuilder.h.

Definition at line 47 of file nodebuilder.h.

std::stack<Node *> YAML_PM::NodeBuilder::m_stack [private]

Definition at line 51 of file nodebuilder.h.


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


libpointmatcher
Author(s):
autogenerated on Thu Jun 20 2019 19:51:35