3rdparty
libpointmatcher
contrib
yaml-cpp-pm
src
contrib
graphbuilder.cpp
Go to the documentation of this file.
1
#include "
yaml-cpp-pm/parser.h
"
2
#include "yaml-cpp-pm/contrib/graphbuilder.h"
3
#include "
graphbuilderadapter.h
"
4
5
namespace
YAML_PM
6
{
7
void
*
BuildGraphOfNextDocument
(
Parser
& parser, GraphBuilderInterface& graphBuilder)
8
{
9
GraphBuilderAdapter
eventHandler(graphBuilder);
10
if
(parser.
HandleNextDocument
(eventHandler)) {
11
return
eventHandler.
RootNode
();
12
}
else
{
13
return
NULL;
14
}
15
}
16
}
YAML_PM::GraphBuilderAdapter::RootNode
void * RootNode() const
Definition:
graphbuilderadapter.h:38
YAML_PM
Definition:
aliasmanager.h:11
YAML_PM::GraphBuilderAdapter
Definition:
graphbuilderadapter.h:17
graphbuilderadapter.h
YAML_PM::Parser
Definition:
parser.h:23
parser.h
YAML_PM::BuildGraphOfNextDocument
void * BuildGraphOfNextDocument(Parser &parser, GraphBuilderInterface &graphBuilder)
Definition:
graphbuilder.cpp:7
YAML_PM::Parser::HandleNextDocument
bool HandleNextDocument(EventHandler &eventHandler)
Definition:
parser.cpp:44
mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:45:58