|
sprint 1-alpha
|
#include <ref_any.h>
Public Member Functions | |
| template<class T > | |
| ref_any (T *p) | |
| bind object to T* | |
| template<class T > | |
| ref_any (T *p, int len) | |
| bind object to a memory buffer | |
| template<class T > | |
| bool | is () const |
| template<class T > | |
| T | get () const |
| template<class T > | |
| void | set (const T &s) const |
Public Attributes | |
| Type | type |
| type of parameter using sprint::rtti | |
| void * | mem |
| pointer to memory | |
| unsigned int | size |
| size of memory (used only for String) | |
A generic container for reference memory not using RTTI ma serializable_rtti.h only POD methods
int my_var; foo(sprint::ref_any(&my_var) );
1.7.4