OpenMAMA C++ API
MamaFieldCacheFieldTypes.h File Reference
#include <mama/mamacpp.h>
#include <mama/fieldcache/MamaFieldCacheField.h>
#include <mama/MamaPrice.h>
#include <mama/MamaDateTime.h>
#include <stdexcept>

Go to the source code of this file.

Classes

class  Wombat::MamaFieldCacheFieldBasic< T, fieldType >
 MamaFieldCacheFieldBasic. More...
 
class  Wombat::MamaFieldCacheFieldString
 MamaFieldCacheFieldString. More...
 
class  Wombat::MamaFieldCacheFieldPrice
 MamaFieldCacheFieldPrice. More...
 
class  Wombat::MamaFieldCacheFieldDateTime
 MamaFieldCacheFieldDateTime. More...
 
class  Wombat::MamaFieldCacheFieldVectorBasic< T, fieldType >
 MamaFieldCacheFieldVectorBasic. More...
 
class  Wombat::MamaFieldCacheFieldStringVector
 MamaFieldCacheField: String vector field. More...
 
class  Wombat::MamaFieldCacheFieldVector< T >
 
class  Wombat::MamaFieldCacheFieldPriceVector
 MamaFieldCacheField: Price vector field. More...
 
class  Wombat::MamaFieldCacheFieldDateTimeVector
 MamaFieldCacheField: DateTime vector field. More...
 
class  Wombat::Type< fieldType >
 

Namespaces

 Wombat
 

Typedefs

typedef MamaFieldCacheFieldBasic< char, MAMA_FIELD_TYPE_CHAR > Wombat::MamaFieldCacheFieldChar
 MamaFieldCacheFieldChar. More...
 
typedef MamaFieldCacheFieldBasic< mama_bool_t, MAMA_FIELD_TYPE_BOOL > Wombat::MamaFieldCacheFieldBool
 MamaFieldCacheFieldBool. More...
 
typedef MamaFieldCacheFieldBasic< mama_i8_t, MAMA_FIELD_TYPE_I8 > Wombat::MamaFieldCacheFieldI8
 MamaFieldCacheFieldI8. More...
 
typedef MamaFieldCacheFieldBasic< mama_u8_t, MAMA_FIELD_TYPE_U8 > Wombat::MamaFieldCacheFieldU8
 MamaFieldCacheFieldU8. More...
 
typedef MamaFieldCacheFieldBasic< mama_i16_t, MAMA_FIELD_TYPE_I16 > Wombat::MamaFieldCacheFieldI16
 MamaFieldCacheFieldI16. More...
 
typedef MamaFieldCacheFieldBasic< mama_u16_t, MAMA_FIELD_TYPE_U16 > Wombat::MamaFieldCacheFieldU16
 MamaFieldCacheFieldU16. More...
 
typedef MamaFieldCacheFieldBasic< mama_i32_t, MAMA_FIELD_TYPE_I32 > Wombat::MamaFieldCacheFieldI32
 MamaFieldCacheFieldI32. More...
 
typedef MamaFieldCacheFieldBasic< mama_u32_t, MAMA_FIELD_TYPE_U32 > Wombat::MamaFieldCacheFieldU32
 MamaFieldCacheFieldU32. More...
 
typedef MamaFieldCacheFieldBasic< mama_i64_t, MAMA_FIELD_TYPE_I64 > Wombat::MamaFieldCacheFieldI64
 MamaFieldCacheFieldI64. More...
 
typedef MamaFieldCacheFieldBasic< mama_u64_t, MAMA_FIELD_TYPE_U64 > Wombat::MamaFieldCacheFieldU64
 MamaFieldCacheFieldU64. More...
 
typedef MamaFieldCacheFieldBasic< mama_f32_t, MAMA_FIELD_TYPE_F32 > Wombat::MamaFieldCacheFieldF32
 MamaFieldCacheFieldF32. More...
 
typedef MamaFieldCacheFieldBasic< mama_f64_t, MAMA_FIELD_TYPE_F64 > Wombat::MamaFieldCacheFieldF64
 MamaFieldCacheFieldF64. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_bool_t, MAMA_FIELD_TYPE_VECTOR_BOOL > Wombat::MamaFieldCacheFieldBoolVector
 MamaFieldCacheFieldBoolVector. More...
 
typedef MamaFieldCacheFieldVectorBasic< char, MAMA_FIELD_TYPE_VECTOR_CHAR > Wombat::MamaFieldCacheFieldCharVector
 MamaFieldCacheFieldCharVector. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_i8_t, MAMA_FIELD_TYPE_VECTOR_I8 > Wombat::MamaFieldCacheFieldI8Vector
 MamaFieldCacheFieldI8Vector. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_u8_t, MAMA_FIELD_TYPE_VECTOR_U8 > Wombat::MamaFieldCacheFieldU8Vector
 MamaFieldCacheFieldU8Vector. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_i16_t, MAMA_FIELD_TYPE_VECTOR_I16 > Wombat::MamaFieldCacheFieldI16Vector
 MamaFieldCacheFieldI16Vector. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_u16_t, MAMA_FIELD_TYPE_VECTOR_U16 > Wombat::MamaFieldCacheFieldU16Vector
 MamaFieldCacheFieldU16Vector. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_i32_t, MAMA_FIELD_TYPE_VECTOR_I32 > Wombat::MamaFieldCacheFieldI32Vector
 MamaFieldCacheFieldI32Vector. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_u32_t, MAMA_FIELD_TYPE_VECTOR_U32 > Wombat::MamaFieldCacheFieldU32Vector
 MamaFieldCacheFieldU32Vector. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_i64_t, MAMA_FIELD_TYPE_VECTOR_I64 > Wombat::MamaFieldCacheFieldI64Vector
 MamaFieldCacheFieldI64Vector. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_u64_t, MAMA_FIELD_TYPE_VECTOR_U64 > Wombat::MamaFieldCacheFieldU64Vector
 MamaFieldCacheFieldU64Vector. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_f32_t, MAMA_FIELD_TYPE_VECTOR_F32 > Wombat::MamaFieldCacheFieldF32Vector
 MamaFieldCacheFieldF32Vector. More...
 
typedef MamaFieldCacheFieldVectorBasic< mama_f64_t, MAMA_FIELD_TYPE_VECTOR_F64 > Wombat::MamaFieldCacheFieldF64Vector
 MamaFieldCacheFieldF64Vector. More...
 

Functions

void Wombat::setFieldValue (MamaFieldCacheField &field, const char *value)
 Helper function to set the value of a String field. More...
 
void Wombat::setFieldValue (MamaFieldCacheField &field, const MamaPrice &value)
 Helper function to set the value of a MamaPrice field. More...
 
void Wombat::setFieldValue (MamaFieldCacheField &field, const MamaDateTime &value)
 Helper function to set the value of a MamaDateTime field. More...
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_CHAR > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_BOOL > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_I8 > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_U8 > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_I16 > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_U16 > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_I32 > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_U32 > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_I64 >, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_U64 > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_F32 > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::setV (Type< MAMA_FIELD_TYPE_F64 > type, MamaFieldCacheField &field, const T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_CHAR > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_BOOL > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_I8 > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_U8 > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_I16 > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_U16 > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_I32 > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_U32 > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_I64 > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_U64 > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_F32 > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::getV (Type< MAMA_FIELD_TYPE_F64 > type, const MamaFieldCacheField &field, T &value)
 
template<typename T >
void Wombat::setFieldValue (MamaFieldCacheField &field, const T &value)
 Helper function to set the value of a generic single-value field. More...
 
void Wombat::getFieldValue (const MamaFieldCacheField &field, const char *&value)
 Helper function to get the value of a string field. More...
 
void Wombat::getFieldValue (const MamaFieldCacheField &field, MamaPrice &value)
 Helper function to get the value of a MamaPrice field. More...
 
void Wombat::getFieldValue (const MamaFieldCacheField &field, MamaDateTime &value)
 Helper function to get the value of a MamaDateTime field. More...
 
template<typename T >
void Wombat::getFieldValue (const MamaFieldCacheField &field, T &value)
 Helper function to get the value of a generic single-value field. More...
 
template<typename T >
void Wombat::setFieldValue (MamaFieldCacheField &field, const T *values, mama_size_t size)
 Helper function to set the values of a generic vector field. More...
 
void Wombat::getFieldValue (const MamaFieldCacheField &field, const char **&values, mama_size_t &size)
 Helper function to set the values of a string vector field. More...
 
void Wombat::getFieldValue (const MamaFieldCacheField &field, const MamaPrice *&values, mama_size_t &size)
 
void Wombat::getFieldValue (const MamaFieldCacheField &field, const mamaDateTime *&values, mama_size_t &size)
 
template<typename T >
void Wombat::getFieldValue (const MamaFieldCacheField &field, const T *&values, mama_size_t &size)
 Helper function to get the values of a generic vector field. More...
 
void Wombat::mamaFieldCacheFieldFromString (MamaFieldCacheField &field, const std::string &value)