sprint 1-alpha
Public Member Functions
sprint::static_buffer< t_capacity, T > Class Template Reference

#include <static_buffer.h>

List of all members.

Public Member Functions

 static_buffer (const T *a)
 static_buffer (const T *a, const T *b)
 static_buffer (const T *a, const T *b, const T *c)
 static_buffer (const T *a, const T *b, const T *c, const T *d)
 static_buffer (const T *a, const T *b, const T *c, const T *d, const T *e)
void insert_ (const T *a)
 insert a string (avoiding \0)
void insert (const T *a)
 insert a string
static_buffer< t_capacity > & operator<< (const T *str)
 insert a string
const char * c_str () const
 return the const char *
char * str ()
 return the char *
const char * data () const
 return the inner buffer
int lenght () const
 lenght of buffer
unsigned int size () const
 size of string
unsigned int capacity () const
 max capacity

Detailed Description

template<int t_capacity, class T = char>
class sprint::static_buffer< t_capacity, T >

A fixed size char buffer for rapidly cat string without fragment memory

 static_buffer<256> ("This"," is ","a", " test");

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines