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 }
void * BuildGraphOfNextDocument(Parser &parser, GraphBuilderInterface &graphBuilder)
Definition: graphbuilder.cpp:7
bool HandleNextDocument(EventHandler &eventHandler)
Definition: parser.cpp:44


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:36:30