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

#include <graphbuilderadapter.h>

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

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

Private Types

typedef AnchorDict< void * > AnchorMap
 
typedef std::stack< ContainerFrameContainerStack
 

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

◆ AnchorMap

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

Definition at line 59 of file graphbuilderadapter.h.

◆ ContainerStack

Definition at line 58 of file graphbuilderadapter.h.

Constructor & Destructor Documentation

◆ GraphBuilderAdapter()

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

Definition at line 20 of file graphbuilderadapter.h.

Member Function Documentation

◆ DispositionNode()

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

Definition at line 77 of file graphbuilderadapter.cpp.

◆ GetCurrentParent()

void * YAML_PM::GraphBuilderAdapter::GetCurrentParent ( ) const
private

Definition at line 62 of file graphbuilderadapter.cpp.

◆ OnAlias()

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

Implements YAML_PM::EventHandler.

Definition at line 16 of file graphbuilderadapter.cpp.

◆ OnDocumentEnd()

virtual void YAML_PM::GraphBuilderAdapter::OnDocumentEnd ( )
inlinevirtual

Implements YAML_PM::EventHandler.

Definition at line 26 of file graphbuilderadapter.h.

◆ OnDocumentStart()

virtual void YAML_PM::GraphBuilderAdapter::OnDocumentStart ( const Mark mark)
inlinevirtual

Implements YAML_PM::EventHandler.

Definition at line 25 of file graphbuilderadapter.h.

◆ OnMapEnd()

void YAML_PM::GraphBuilderAdapter::OnMapEnd ( )
virtual

Implements YAML_PM::EventHandler.

Definition at line 54 of file graphbuilderadapter.cpp.

◆ OnMapStart()

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.

◆ OnNull()

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

Implements YAML_PM::EventHandler.

Definition at line 7 of file graphbuilderadapter.cpp.

◆ OnScalar()

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.

◆ OnSequenceEnd()

void YAML_PM::GraphBuilderAdapter::OnSequenceEnd ( )
virtual

Implements YAML_PM::EventHandler.

Definition at line 38 of file graphbuilderadapter.cpp.

◆ OnSequenceStart()

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.

◆ RegisterAnchor()

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

Definition at line 70 of file graphbuilderadapter.cpp.

◆ RootNode()

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

Definition at line 38 of file graphbuilderadapter.h.

Member Data Documentation

◆ m_anchors

AnchorMap YAML_PM::GraphBuilderAdapter::m_anchors
private

Definition at line 63 of file graphbuilderadapter.h.

◆ m_builder

GraphBuilderInterface& YAML_PM::GraphBuilderAdapter::m_builder
private

Definition at line 61 of file graphbuilderadapter.h.

◆ m_containers

ContainerStack YAML_PM::GraphBuilderAdapter::m_containers
private

Definition at line 62 of file graphbuilderadapter.h.

◆ m_pKeyNode

void* YAML_PM::GraphBuilderAdapter::m_pKeyNode
private

Definition at line 65 of file graphbuilderadapter.h.

◆ m_pRootNode

void* YAML_PM::GraphBuilderAdapter::m_pRootNode
private

Definition at line 64 of file graphbuilderadapter.h.


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


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