Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes
YAML_PM::GraphBuilderAdapter Class Reference

#include <graphbuilderadapter.h>

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

List of all members.

Classes

struct  ContainerFrame

Public Member Functions

 GraphBuilderAdapter (GraphBuilderInterface &builder)
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)
void * RootNode () const

Private Types

typedef AnchorDict< void * > AnchorMap
typedef std::stack
< ContainerFrame
ContainerStack

Private Member Functions

void DispositionNode (void *pNode)
void * GetCurrentParent () const
void RegisterAnchor (anchor_t anchor, void *pNode)

Private Attributes

AnchorMap m_anchors
GraphBuilderInterface & m_builder
ContainerStack m_containers
void * m_pKeyNode
void * m_pRootNode

Detailed Description

Definition at line 17 of file graphbuilderadapter.h.


Member Typedef Documentation

typedef AnchorDict<void*> YAML_PM::GraphBuilderAdapter::AnchorMap [private]

Definition at line 59 of file graphbuilderadapter.h.

Definition at line 58 of file graphbuilderadapter.h.


Constructor & Destructor Documentation

YAML_PM::GraphBuilderAdapter::GraphBuilderAdapter ( GraphBuilderInterface &  builder) [inline]

Definition at line 20 of file graphbuilderadapter.h.


Member Function Documentation

void YAML_PM::GraphBuilderAdapter::DispositionNode ( void *  pNode) [private]

Definition at line 77 of file graphbuilderadapter.cpp.

Definition at line 62 of file graphbuilderadapter.cpp.

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

Implements YAML_PM::EventHandler.

Definition at line 16 of file graphbuilderadapter.cpp.

virtual void YAML_PM::GraphBuilderAdapter::OnDocumentEnd ( ) [inline, virtual]

Implements YAML_PM::EventHandler.

Definition at line 26 of file graphbuilderadapter.h.

virtual void YAML_PM::GraphBuilderAdapter::OnDocumentStart ( const Mark mark) [inline, virtual]

Implements YAML_PM::EventHandler.

Definition at line 25 of file graphbuilderadapter.h.

Implements YAML_PM::EventHandler.

Definition at line 54 of file graphbuilderadapter.cpp.

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

Implements YAML_PM::EventHandler.

Definition at line 46 of file graphbuilderadapter.cpp.

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

Implements YAML_PM::EventHandler.

Definition at line 7 of file graphbuilderadapter.cpp.

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

Implements YAML_PM::EventHandler.

Definition at line 22 of file graphbuilderadapter.cpp.

Implements YAML_PM::EventHandler.

Definition at line 38 of file graphbuilderadapter.cpp.

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

Implements YAML_PM::EventHandler.

Definition at line 31 of file graphbuilderadapter.cpp.

void YAML_PM::GraphBuilderAdapter::RegisterAnchor ( anchor_t  anchor,
void *  pNode 
) [private]

Definition at line 70 of file graphbuilderadapter.cpp.

void* YAML_PM::GraphBuilderAdapter::RootNode ( ) const [inline]

Definition at line 38 of file graphbuilderadapter.h.


Member Data Documentation

Definition at line 63 of file graphbuilderadapter.h.

GraphBuilderInterface& YAML_PM::GraphBuilderAdapter::m_builder [private]

Definition at line 61 of file graphbuilderadapter.h.

Definition at line 62 of file graphbuilderadapter.h.

Definition at line 65 of file graphbuilderadapter.h.

Definition at line 64 of file graphbuilderadapter.h.


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


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