FixedBuffer::FixedBuffer< N > Class Template Reference
A fixed-size string buffer (typically stack-allocated). More...
#include <FixedBuffer.h>
Inheritance diagram for FixedBuffer::FixedBuffer< N >:
Public Member Functions | |
FixedBuffer (const char *cstr=NULL) | |
Constructs from a C string if provided, or sets to "" if NULL passed. | |
template<size_t M> | |
FixedBuffer (const FixedBuffer< M > &rhs) | |
Constructs from a FixedBuffer of a bigger or equal static size. | |
FixedBuffer & | operator= (const char *cstr) |
Copies from a C string if provided, or sets to "" if nullptr passed. | |
FixedBuffer & | operator= (const std::string &str) |
template<size_t M> | |
FixedBuffer & | operator= (const FixedBuffer< M > &rhs) |
Copies from a FixedBuffer of a bigger or equal static size. | |
const char * | c_str () const |
Returns a C string (always valid). | |
void | format (const char *format,...) |
Formats a string in a good old printf style. | |
Detailed Description
template<size_t N>
class FixedBuffer::FixedBuffer< N >
A fixed-size string buffer (typically stack-allocated).
The documentation for this class was generated from the following file:
- /data/Daten/Entwicklung/ros_workspaces/h4r_ev3_ws/src/h4r_ev3/h4r_ev3_control/include/h4r_ev3_control/FixedBuffer.h