#include <graphbuilderadapter.h>
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 |
Definition at line 17 of file graphbuilderadapter.h.
typedef AnchorDict<void*> YAML_PM::GraphBuilderAdapter::AnchorMap [private] |
Definition at line 59 of file graphbuilderadapter.h.
typedef std::stack<ContainerFrame> YAML_PM::GraphBuilderAdapter::ContainerStack [private] |
Definition at line 58 of file graphbuilderadapter.h.
YAML_PM::GraphBuilderAdapter::GraphBuilderAdapter | ( | GraphBuilderInterface & | builder | ) | [inline] |
Definition at line 20 of file graphbuilderadapter.h.
void YAML_PM::GraphBuilderAdapter::DispositionNode | ( | void * | pNode | ) | [private] |
Definition at line 77 of file graphbuilderadapter.cpp.
void * YAML_PM::GraphBuilderAdapter::GetCurrentParent | ( | ) | const [private] |
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.
void YAML_PM::GraphBuilderAdapter::OnMapEnd | ( | ) | [virtual] |
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.
void YAML_PM::GraphBuilderAdapter::OnSequenceEnd | ( | ) | [virtual] |
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.
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.
void* YAML_PM::GraphBuilderAdapter::m_pKeyNode [private] |
Definition at line 65 of file graphbuilderadapter.h.
void* YAML_PM::GraphBuilderAdapter::m_pRootNode [private] |
Definition at line 64 of file graphbuilderadapter.h.