ISMRMRD
ISMRM Raw Data Format
|
Meta Container. More...
#include <meta.h>
Public Member Functions | |
to | |
This function sets the parameter with name value . The set function assumes the parameter will have a single value and wipes out any array that might be there. There is an function for appending to an existing array. | |
template<class T > | |
void | set (const char *name, T value) |
template<class T > | |
void | append (const char *name, T value) |
size_t | length (const char *name) const |
Return number of values of a particular parameter. | |
as long | |
Return value number of the parameter | |
long | as_long (const char *name, size_t index=0) const |
as double | |
Return value number of the parameter | |
double | as_double (const char *name, size_t index=0) const |
Friends | |
void | serialize (MetaContainer &h, std::ostream &o) |
as string | |
map_t | map_ |
const char * | as_str (const char *name, size_t index=0) const |
const MetaValue & | value (const char *name, size_t index=0) const |
Meta Container.