Public Member Functions | Public Attributes | List of all members
BT::XMLParser::Pimpl Struct Reference

Public Member Functions

TreeNode::Ptr buildNodeFromElement (const XMLElement *element, TreeNode::Ptr parent)
 
TreeNode::Ptr buildTreeRecursively (const XMLElement *root_element, std::vector< TreeNode::Ptr > &nodes, const TreeNode::Ptr &root_parent)
 
void clear ()
 
void loadDocImpl (XMLDocument *doc)
 
 Pimpl (const BehaviorTreeFactory &fact)
 
void verifyXML (const XMLDocument *doc) const
 

Public Attributes

Blackboard::Ptr blackboard
 
filesystem::path current_path
 
const BehaviorTreeFactoryfactory
 
std::list< std::unique_ptr< XMLDocument > > opened_documents
 
int suffix_count
 
std::map< std::string, const XMLElement * > tree_roots
 

Detailed Description

Definition at line 32 of file xml_parsing.cpp.

Constructor & Destructor Documentation

BT::XMLParser::Pimpl::Pimpl ( const BehaviorTreeFactory fact)
inline

Definition at line 57 of file xml_parsing.cpp.

Member Function Documentation

TreeNode::Ptr BT::XMLParser::Pimpl::buildNodeFromElement ( const XMLElement element,
TreeNode::Ptr  parent 
)

Definition at line 428 of file xml_parsing.cpp.

TreeNode::Ptr BT::XMLParser::Pimpl::buildTreeRecursively ( const XMLElement root_element,
std::vector< TreeNode::Ptr > &  nodes,
const TreeNode::Ptr root_parent 
)

Definition at line 393 of file xml_parsing.cpp.

void BT::XMLParser::Pimpl::clear ( )
inline

Definition at line 63 of file xml_parsing.cpp.

void BT::XMLParser::Pimpl::loadDocImpl ( XMLDocument doc)

Definition at line 108 of file xml_parsing.cpp.

void BT::XMLParser::Pimpl::verifyXML ( const XMLDocument doc) const

Definition at line 173 of file xml_parsing.cpp.

Member Data Documentation

Blackboard::Ptr BT::XMLParser::Pimpl::blackboard

Definition at line 55 of file xml_parsing.cpp.

filesystem::path BT::XMLParser::Pimpl::current_path

Definition at line 51 of file xml_parsing.cpp.

const BehaviorTreeFactory& BT::XMLParser::Pimpl::factory

Definition at line 49 of file xml_parsing.cpp.

std::list< std::unique_ptr<XMLDocument> > BT::XMLParser::Pimpl::opened_documents

Definition at line 45 of file xml_parsing.cpp.

int BT::XMLParser::Pimpl::suffix_count

Definition at line 53 of file xml_parsing.cpp.

std::map<std::string,const XMLElement*> BT::XMLParser::Pimpl::tree_roots

Definition at line 47 of file xml_parsing.cpp.


The documentation for this struct was generated from the following file:


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 04:01:55