Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
BT::TypeInfo Class Reference

#include <basic_types.h>

Inheritance diagram for BT::TypeInfo:
Inheritance graph
[legend]

Public Member Functions

const StringConverterconverter () const
 
bool isStronglyTyped () const
 
Any parseString (const char *str) const
 
Any parseString (const std::string &str) const
 
template<typename T >
Any parseString (const T &) const
 
const std::type_index & type () const
 
 TypeInfo ()
 
 TypeInfo (std::type_index type_info, StringConverter conv)
 
const std::string & typeName () const
 

Static Public Member Functions

template<typename T >
static TypeInfo Create ()
 

Private Attributes

StringConverter converter_
 
std::type_index type_info_
 
std::string type_str_
 

Detailed Description

Definition at line 345 of file basic_types.h.

Constructor & Destructor Documentation

◆ TypeInfo() [1/2]

BT::TypeInfo::TypeInfo ( )
inline

Definition at line 354 of file basic_types.h.

◆ TypeInfo() [2/2]

BT::TypeInfo::TypeInfo ( std::type_index  type_info,
StringConverter  conv 
)
inline

Definition at line 357 of file basic_types.h.

Member Function Documentation

◆ converter()

const StringConverter& BT::TypeInfo::converter ( ) const
inline

Definition at line 381 of file basic_types.h.

◆ Create()

template<typename T >
static TypeInfo BT::TypeInfo::Create ( )
inlinestatic

Definition at line 349 of file basic_types.h.

◆ isStronglyTyped()

bool BT::TypeInfo::isStronglyTyped ( ) const
inline

Definition at line 376 of file basic_types.h.

◆ parseString() [1/3]

Any BT::TypeInfo::parseString ( const char *  str) const

Definition at line 383 of file basic_types.cpp.

◆ parseString() [2/3]

Any BT::TypeInfo::parseString ( const std::string &  str) const

Definition at line 392 of file basic_types.cpp.

◆ parseString() [3/3]

template<typename T >
Any BT::TypeInfo::parseString ( const T &  ) const
inline

Definition at line 370 of file basic_types.h.

◆ type()

const std::type_index & BT::TypeInfo::type ( ) const

Definition at line 373 of file basic_types.cpp.

◆ typeName()

const std::string & BT::TypeInfo::typeName ( ) const

Definition at line 378 of file basic_types.cpp.

Member Data Documentation

◆ converter_

StringConverter BT::TypeInfo::converter_
private

Definition at line 388 of file basic_types.h.

◆ type_info_

std::type_index BT::TypeInfo::type_info_
private

Definition at line 387 of file basic_types.h.

◆ type_str_

std::string BT::TypeInfo::type_str_
private

Definition at line 389 of file basic_types.h.


The documentation for this class was generated from the following files:


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