Namespaces | Functions
basic_types.cpp File Reference
#include "behaviortree_cpp/basic_types.h"
#include "behaviortree_cpp/json_export.h"
#include <cstdlib>
#include <cstring>
#include <clocale>
#include <charconv>
Include dependency graph for basic_types.cpp:

Go to the source code of this file.

Namespaces

 BT
 

Functions

Any BT::convertFromJSON (StringView json_text, std::type_index type)
 convertFromJSON will parse a json string and use JsonExporter to convert its content to a given type. It will work only if the type was previously registered. May throw if it fails. More...
 
template<>
bool BT::convertFromString< bool > (StringView str)
 
template<>
double BT::convertFromString< double > (StringView str)
 
template<>
float BT::convertFromString< float > (StringView str)
 
template<>
int16_t BT::convertFromString< int16_t > (StringView str)
 
template<>
int32_t BT::convertFromString< int32_t > (StringView str)
 
template<>
int64_t BT::convertFromString< int64_t > (StringView str)
 
template<>
int8_t BT::convertFromString< int8_t > (StringView str)
 
template<>
NodeStatus BT::convertFromString< NodeStatus > (StringView str)
 
template<>
NodeType BT::convertFromString< NodeType > (StringView str)
 
template<>
PortDirection BT::convertFromString< PortDirection > (StringView str)
 
template<>
std::string BT::convertFromString< std::string > (StringView str)
 
template<>
std::vector< double > BT::convertFromString< std::vector< double > > (StringView str)
 
template<>
std::vector< int > BT::convertFromString< std::vector< int > > (StringView str)
 
template<>
std::vector< std::string > BT::convertFromString< std::vector< std::string > > (StringView str)
 
template<>
uint16_t BT::convertFromString< uint16_t > (StringView str)
 
template<>
uint32_t BT::convertFromString< uint32_t > (StringView str)
 
template<>
uint64_t BT::convertFromString< uint64_t > (StringView str)
 
template<>
uint8_t BT::convertFromString< uint8_t > (StringView str)
 
template<typename T >
BT::ConvertWithBoundCheck (StringView str)
 
bool BT::IsAllowedPortName (StringView str)
 
std::ostream & BT::operator<< (std::ostream &os, const BT::NodeStatus &status)
 
std::ostream & BT::operator<< (std::ostream &os, const BT::NodeType &type)
 
std::ostream & BT::operator<< (std::ostream &os, const BT::PortDirection &type)
 
std::vector< StringView > BT::splitString (const StringView &strToSplit, char delimeter)
 
bool BT::StartWith (StringView str, char prefix)
 
bool BT::StartWith (StringView str, StringView prefix)
 
Expected< std::string > BT::toJsonString (const Any &value)
 
std::string BT::toStr (BT::NodeStatus status, bool colored)
 toStr converts NodeStatus to string. Optionally colored. More...
 
template<>
std::string BT::toStr< bool > (const bool &value)
 
template<>
std::string BT::toStr< NodeStatus > (const NodeStatus &status)
 
template<>
std::string BT::toStr< NodeType > (const NodeType &type)
 
template<>
std::string BT::toStr< PortDirection > (const PortDirection &direction)
 
template<>
std::string BT::toStr< std::string > (const std::string &value)
 


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:08