graphbuilder.cpp
Go to the documentation of this file.
00001 #include "yaml-cpp-pm/parser.h"
00002 #include "yaml-cpp-pm/contrib/graphbuilder.h"
00003 #include "graphbuilderadapter.h"
00004 
00005 namespace YAML_PM
00006 {
00007   void *BuildGraphOfNextDocument(Parser& parser, GraphBuilderInterface& graphBuilder)
00008   {
00009     GraphBuilderAdapter eventHandler(graphBuilder);
00010     if (parser.HandleNextDocument(eventHandler)) {
00011       return eventHandler.RootNode();
00012     } else {
00013       return NULL;
00014     }
00015   }
00016 }


libpointmatcher
Author(s):
autogenerated on Thu Jun 20 2019 19:51:29