Classes Files

Wombat::MamaFieldCacheFieldString

More…

#include <MamaFieldCacheFieldTypes.h>

Inherits from Wombat::MamaFieldCacheFieldBase

Public Functions

  Name
void set(MamaFieldCacheField & field, const char * value, mama_size_t len =0)
const char * 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

class Wombat::MamaFieldCacheFieldString;

MamaFieldCacheFieldString. Class used to set and get the value of a char* single-value [MamaFieldCacheField](classWombat_1_1MamaFieldCacheField.html).

Public Functions Documentation

function set

void set(
    MamaFieldCacheField & field,
    const char * value,
    mama_size_t len =0
)

Parameters:

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

Set the field value.

function get

const char * 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