Public Member Functions | Private Attributes | List of all members
SafeAny::SimpleString Class Reference

#include <simple_string.hpp>

Public Member Functions

const char * data () const
 
 SimpleString (const std::string &str)
 
 SimpleString (const char *data)
 
 SimpleString (const char *data, std::size_t size)
 
 SimpleString (const SimpleString &other)
 
std::size_t size () const
 
std::string toStdString () const
 
 ~SimpleString ()
 

Private Attributes

char * _data
 
std::size_t _size
 

Detailed Description

Definition at line 10 of file simple_string.hpp.

Constructor & Destructor Documentation

SafeAny::SimpleString::SimpleString ( const std::string &  str)
inline

Definition at line 13 of file simple_string.hpp.

SafeAny::SimpleString::SimpleString ( const char *  data)
inline

Definition at line 16 of file simple_string.hpp.

SafeAny::SimpleString::SimpleString ( const char *  data,
std::size_t  size 
)
inline

Definition at line 20 of file simple_string.hpp.

SafeAny::SimpleString::SimpleString ( const SimpleString other)
inline

Definition at line 27 of file simple_string.hpp.

SafeAny::SimpleString::~SimpleString ( )
inline

Definition at line 31 of file simple_string.hpp.

Member Function Documentation

const char* SafeAny::SimpleString::data ( ) const
inline

Definition at line 44 of file simple_string.hpp.

std::size_t SafeAny::SimpleString::size ( ) const
inline

Definition at line 49 of file simple_string.hpp.

std::string SafeAny::SimpleString::toStdString ( ) const
inline

Definition at line 39 of file simple_string.hpp.

Member Data Documentation

char* SafeAny::SimpleString::_data
private

Definition at line 55 of file simple_string.hpp.

std::size_t SafeAny::SimpleString::_size
private

Definition at line 56 of file simple_string.hpp.


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


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