OpenMAMA C++ API
Wombat::MamaFieldCacheFieldPrice Class Reference

MamaFieldCacheFieldPrice. More...

#include <MamaFieldCacheFieldTypes.h>

Inheritance diagram for Wombat::MamaFieldCacheFieldPrice:
Wombat::MamaFieldCacheFieldBase

Public Member Functions

void set (MamaFieldCacheField &field, const MamaPrice &value)
 Set the field value. More...
 
const MamaPriceget (const MamaFieldCacheField &field) const
 Return the value of the field. More...
 
- Public Member Functions inherited from Wombat::MamaFieldCacheFieldBase
virtual ~MamaFieldCacheFieldBase ()
 

Protected Member Functions

void checkType (const MamaFieldCacheField &field) const
 
- Protected Member Functions inherited from Wombat::MamaFieldCacheFieldBase
 MamaFieldCacheFieldBase ()
 

Detailed Description

MamaFieldCacheFieldPrice.

Class used to set and get the value of a MamaPrice single-value MamaFieldCacheField.

Member Function Documentation

§ set()

void Wombat::MamaFieldCacheFieldPrice::set ( MamaFieldCacheField field,
const MamaPrice value 
)

Set the field value.

Parameters
fieldThe field to set the value to.
valueThe new value of the field.

§ get()

const MamaPrice& Wombat::MamaFieldCacheFieldPrice::get ( const MamaFieldCacheField field) const

Return the value of the field.

Parameters
fieldThe field to get the value from.
Returns
The value of the field.

§ checkType()

void Wombat::MamaFieldCacheFieldPrice::checkType ( const MamaFieldCacheField field) const
inlineprotected