MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <Conv.h>
Static Public Member Functions | |
static const string | buf2val (double **buf) |
static string | rttiType () |
static unsigned int | size (const string &val) |
static void | str2val (string &val, const string &s) |
static void | val2buf (const string &val, double **buf) |
static void | val2str (string &s, const string &val) |
This stores the data as the equivalent of a char* string, terminated with the usual \0, but allocates it as a double[].
|
inlinestatic |
Definition at line 130 of file Conv.h.
References Conv< T >::size().
|
inlinestatic |
|
inlinestatic |
This is the size used in the serialized form, as a double* Note that we do some ugly stuff to get alignment on 8-byte boundaries. We need to have strlen + 1 as a minimum.
|
inlinestatic |
|
inlinestatic |
Converts data contents into double* buf. Buf must be allocated ahead of time. Returns size of value. Needs to be specialized for variable size and pointer-containing types T.
Definition at line 143 of file Conv.h.
References Conv< T >::size().
|
inlinestatic |