Classes | Namespaces | Macros | Functions | Variables
xml_parsing.cpp File Reference
#include <cstdio>
#include <cstring>
#include <functional>
#include <iostream>
#include <list>
#include <sstream>
#include <string>
#include <typeindex>
#include <map>
#include "behaviortree_cpp/xml_parsing.h"
#include "tinyxml2/tinyxml2.h"
#include <filesystem>
#include "behaviortree_cpp/blackboard.h"
#include "behaviortree_cpp/tree_node.h"
#include "behaviortree_cpp/utils/demangle_util.h"
Include dependency graph for xml_parsing.cpp:

Go to the source code of this file.

Classes

struct  BT::XMLParser::PImpl
 
struct  BT::SubtreeModel
 

Namespaces

 BT
 

Macros

#define __bt_cplusplus   __cplusplus
 

Functions

void BT::addNodeModelToXML (const TreeNodeManifest &model, XMLDocument &doc, XMLElement *model_root)
 
void BT::addTreeToXML (const Tree &tree, XMLDocument &doc, XMLElement *rootXML, bool add_metadata, bool add_builtin_models)
 
Tree BT::buildTreeFromFile (const BehaviorTreeFactory &factory, const std::string &filename, const Blackboard::Ptr &blackboard)
 
Tree BT::buildTreeFromText (const BehaviorTreeFactory &factory, const std::string &text, const Blackboard::Ptr &blackboard)
 
void BT::VerifyXML (const std::string &xml_text, const std::unordered_map< std::string, BT::NodeType > &registered_nodes)
 
std::string BT::writeTreeNodesModelXML (const BehaviorTreeFactory &factory, bool include_builtin=false)
 writeTreeNodesModelXML generates an XMl that contains the manifests in the <TreeNodesModel> More...
 
std::string BT::WriteTreeToXML (const Tree &tree, bool add_metadata, bool add_builtin_models)
 WriteTreeToXML create a string that contains the XML that corresponds to a given tree. When using this function with a logger, you should probably set both add_metadata and add_builtin_models to true. More...
 
std::string BT::writeTreeXSD (const BehaviorTreeFactory &factory)
 writeTreeXSD generates an XSD for the nodes defined in the factory More...
 

Variables

auto BT::StrEqual
 

Macro Definition Documentation

◆ __bt_cplusplus

#define __bt_cplusplus   __cplusplus

Definition at line 25 of file xml_parsing.cpp.



behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18