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

#include <singledocparser.h>

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

Public Member Functions

void HandleDocument (EventHandler &eventHandler)
 
 SingleDocParser (Scanner &scanner, const Directives &directives)
 
 ~SingleDocParser ()
 

Private Types

typedef std::map< std::string, anchor_tAnchors
 

Private Member Functions

void HandleBlockMap (EventHandler &eventHandler)
 
void HandleBlockSequence (EventHandler &eventHandler)
 
void HandleCompactMap (EventHandler &eventHandler)
 
void HandleCompactMapWithNoKey (EventHandler &eventHandler)
 
void HandleFlowMap (EventHandler &eventHandler)
 
void HandleFlowSequence (EventHandler &eventHandler)
 
void HandleMap (EventHandler &eventHandler)
 
void HandleNode (EventHandler &eventHandler)
 
void HandleSequence (EventHandler &eventHandler)
 
anchor_t LookupAnchor (const Mark &mark, const std::string &name) const
 
void ParseAnchor (anchor_t &anchor)
 
void ParseProperties (std::string &tag, anchor_t &anchor)
 
void ParseTag (std::string &tag)
 
anchor_t RegisterAnchor (const std::string &name)
 
- Private Member Functions inherited from YAML_PM::noncopyable
 noncopyable ()
 
 ~noncopyable ()
 

Private Attributes

Anchors m_anchors
 
anchor_t m_curAnchor
 
const Directivesm_directives
 
std::auto_ptr< CollectionStackm_pCollectionStack
 
Scannerm_scanner
 

Detailed Description

Definition at line 25 of file singledocparser.h.

Member Typedef Documentation

◆ Anchors

typedef std::map<std::string, anchor_t> YAML_PM::SingleDocParser::Anchors
private

Definition at line 58 of file singledocparser.h.

Constructor & Destructor Documentation

◆ SingleDocParser()

YAML_PM::SingleDocParser::SingleDocParser ( Scanner scanner,
const Directives directives 
)

Definition at line 15 of file singledocparser.cpp.

◆ ~SingleDocParser()

YAML_PM::SingleDocParser::~SingleDocParser ( )

Definition at line 19 of file singledocparser.cpp.

Member Function Documentation

◆ HandleBlockMap()

void YAML_PM::SingleDocParser::HandleBlockMap ( EventHandler eventHandler)
private

Definition at line 206 of file singledocparser.cpp.

◆ HandleBlockSequence()

void YAML_PM::SingleDocParser::HandleBlockSequence ( EventHandler eventHandler)
private

Definition at line 131 of file singledocparser.cpp.

◆ HandleCompactMap()

void YAML_PM::SingleDocParser::HandleCompactMap ( EventHandler eventHandler)
private

Definition at line 290 of file singledocparser.cpp.

◆ HandleCompactMapWithNoKey()

void YAML_PM::SingleDocParser::HandleCompactMapWithNoKey ( EventHandler eventHandler)
private

Definition at line 311 of file singledocparser.cpp.

◆ HandleDocument()

void YAML_PM::SingleDocParser::HandleDocument ( EventHandler eventHandler)

Definition at line 26 of file singledocparser.cpp.

◆ HandleFlowMap()

void YAML_PM::SingleDocParser::HandleFlowMap ( EventHandler eventHandler)
private

Definition at line 245 of file singledocparser.cpp.

◆ HandleFlowSequence()

void YAML_PM::SingleDocParser::HandleFlowSequence ( EventHandler eventHandler)
private

Definition at line 164 of file singledocparser.cpp.

◆ HandleMap()

void YAML_PM::SingleDocParser::HandleMap ( EventHandler eventHandler)
private

Definition at line 194 of file singledocparser.cpp.

◆ HandleNode()

void YAML_PM::SingleDocParser::HandleNode ( EventHandler eventHandler)
private

Definition at line 47 of file singledocparser.cpp.

◆ HandleSequence()

void YAML_PM::SingleDocParser::HandleSequence ( EventHandler eventHandler)
private

Definition at line 121 of file singledocparser.cpp.

◆ LookupAnchor()

anchor_t YAML_PM::SingleDocParser::LookupAnchor ( const Mark mark,
const std::string &  name 
) const
private

Definition at line 373 of file singledocparser.cpp.

◆ ParseAnchor()

void YAML_PM::SingleDocParser::ParseAnchor ( anchor_t anchor)
private

Definition at line 355 of file singledocparser.cpp.

◆ ParseProperties()

void YAML_PM::SingleDocParser::ParseProperties ( std::string &  tag,
anchor_t anchor 
)
private

Definition at line 327 of file singledocparser.cpp.

◆ ParseTag()

void YAML_PM::SingleDocParser::ParseTag ( std::string &  tag)
private

Definition at line 344 of file singledocparser.cpp.

◆ RegisterAnchor()

anchor_t YAML_PM::SingleDocParser::RegisterAnchor ( const std::string &  name)
private

Definition at line 365 of file singledocparser.cpp.

Member Data Documentation

◆ m_anchors

Anchors YAML_PM::SingleDocParser::m_anchors
private

Definition at line 59 of file singledocparser.h.

◆ m_curAnchor

anchor_t YAML_PM::SingleDocParser::m_curAnchor
private

Definition at line 61 of file singledocparser.h.

◆ m_directives

const Directives& YAML_PM::SingleDocParser::m_directives
private

Definition at line 55 of file singledocparser.h.

◆ m_pCollectionStack

std::auto_ptr<CollectionStack> YAML_PM::SingleDocParser::m_pCollectionStack
private

Definition at line 56 of file singledocparser.h.

◆ m_scanner

Scanner& YAML_PM::SingleDocParser::m_scanner
private

Definition at line 54 of file singledocparser.h.


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


mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:43