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

#include <parser.h>

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

Public Member Functions

bool GetNextDocument (Node &document)
 
bool HandleNextDocument (EventHandler &eventHandler)
 
void Load (std::istream &in)
 
 operator bool () const
 
 Parser ()
 
 Parser (std::istream &in)
 
void PrintTokens (std::ostream &out)
 
 ~Parser ()
 

Private Member Functions

void HandleDirective (const Token &token)
 
void HandleTagDirective (const Token &token)
 
void HandleYamlDirective (const Token &token)
 
void ParseDirectives ()
 
- Private Member Functions inherited from YAML_PM::noncopyable
 noncopyable ()
 
 ~noncopyable ()
 

Private Attributes

std::auto_ptr< Directivesm_pDirectives
 
std::auto_ptr< Scannerm_pScanner
 

Detailed Description

Definition at line 23 of file parser.h.

Constructor & Destructor Documentation

◆ Parser() [1/2]

YAML_PM::Parser::Parser ( )

Definition at line 16 of file parser.cpp.

◆ Parser() [2/2]

YAML_PM::Parser::Parser ( std::istream &  in)

Definition at line 20 of file parser.cpp.

◆ ~Parser()

YAML_PM::Parser::~Parser ( )

Definition at line 25 of file parser.cpp.

Member Function Documentation

◆ GetNextDocument()

bool YAML_PM::Parser::GetNextDocument ( Node document)

Definition at line 61 of file parser.cpp.

◆ HandleDirective()

void YAML_PM::Parser::HandleDirective ( const Token token)
private

Definition at line 92 of file parser.cpp.

◆ HandleNextDocument()

bool YAML_PM::Parser::HandleNextDocument ( EventHandler eventHandler)

Definition at line 44 of file parser.cpp.

◆ HandleTagDirective()

void YAML_PM::Parser::HandleTagDirective ( const Token token)
private

Definition at line 126 of file parser.cpp.

◆ HandleYamlDirective()

void YAML_PM::Parser::HandleYamlDirective ( const Token token)
private

Definition at line 102 of file parser.cpp.

◆ Load()

void YAML_PM::Parser::Load ( std::istream &  in)

Definition at line 34 of file parser.cpp.

◆ operator bool()

YAML_PM::Parser::operator bool ( ) const

Definition at line 29 of file parser.cpp.

◆ ParseDirectives()

void YAML_PM::Parser::ParseDirectives ( )
private

Definition at line 69 of file parser.cpp.

◆ PrintTokens()

void YAML_PM::Parser::PrintTokens ( std::ostream &  out)

Definition at line 139 of file parser.cpp.

Member Data Documentation

◆ m_pDirectives

std::auto_ptr<Directives> YAML_PM::Parser::m_pDirectives
private

Definition at line 47 of file parser.h.

◆ m_pScanner

std::auto_ptr<Scanner> YAML_PM::Parser::m_pScanner
private

Definition at line 46 of file parser.h.


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


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