sprint 1-alpha
Public Member Functions
sprint::buffer_cast Class Reference

a dummy class to hold a small buffer (allocated in stack) More...

#include <buffer_cast.h>

List of all members.

Public Member Functions

template<class T >
 buffer_cast (const T &t)
 the costructor: fill the buffer with T serialized
template<class T , class P >
 buffer_cast (T t, P p)
 the costructor: fill the buffer with T serialized + 1 parameter
 operator const char * () const
 return the pointer to buffer
const char * c_str () const
 return the pointer to buffer (std-like form)

Detailed Description

a dummy class to hold a small buffer (allocated in stack)


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