Classes Files

Wombat::MamaFieldCacheFieldBasic

More…

#include <MamaFieldCacheFieldTypes.h>

Inherits from Wombat::MamaFieldCacheFieldBase

Public Functions

  Name
virtual ~MamaFieldCacheFieldBasic()
void set(MamaFieldCacheField & field, const T & value)
T get(const MamaFieldCacheField & field) const

Protected Functions

  Name
void checkType(const MamaFieldCacheField & field) const

Additional inherited members

Public Functions inherited from Wombat::MamaFieldCacheFieldBase

  Name
virtual ~MamaFieldCacheFieldBase()

Protected Functions inherited from Wombat::MamaFieldCacheFieldBase

  Name
  MamaFieldCacheFieldBase()

Detailed Description

template <typename T ,
mamaFieldType fieldType>
class Wombat::MamaFieldCacheFieldBasic;

MamaFieldCacheFieldBasic. Base class for basic single-value types. Allows to set and get the value of the field.

Public Functions Documentation

function ~MamaFieldCacheFieldBasic

inline virtual ~MamaFieldCacheFieldBasic()

function set

void set(
    MamaFieldCacheField & field,
    const T & value
)

Parameters:

  • field The field to set the value to.
  • value The new value of the field.

Set the field value.

function get

T get(
    const MamaFieldCacheField & field
) const

Parameters:

  • field The field to get the value from.

Return: The value of the field.

Return the value of the field.

Protected Functions Documentation

function checkType

inline void checkType(
    const MamaFieldCacheField & field
) const

Updated on 2023-03-31 at 15:29:24 +0100