Classes Files

Wombat::MamaMsgQual

More…

#include <MamaMsgQual.h>

Public Functions

  Name
  MamaMsgQual()
  MamaMsgQual(mama_u16_t value)
  MamaMsgQual(const MamaMsgQual & copy)
  ~MamaMsgQual()
MamaMsgQual & operator=(const MamaMsgQual & rhs)
bool operator==(const MamaMsgQual & rhs) const
bool operator==(mama_u16_t rhs) const
bool operator!=(const MamaMsgQual & rhs) const
bool operator!=(mama_u16_t rhs) const
void clear()
void setValue(mama_u16_t value)
void setIsDefinatelyDuplicate(bool tf)
void setIsPossiblyDuplicate(bool tf)
void setIsDefinatelyDelayed(bool tf)
void setIsPossiblyDelayed(bool tf)
void setIsOutOfSequence(bool tf)
mama_u16_t getValue() const
bool getIsDefinatelyDuplicate() const
bool getIsPossiblyDuplicate() const
bool getIsDefinatelyDelayed() const
bool getIsPossiblyDelayed() const
bool getIsOutOfSequence() const
void getAsString(char * result, mama_size_t maxLen) const
const char * getAsString() const
void getAsString(const mama_u16_t & value, char * result, mama_size_t maxLen)

Detailed Description

class Wombat::MamaMsgQual;

The MamaMsgQual class is a wrapper/utility class which provides useful interrogation, comparison and manipulation facilities for the Mama Message Qualifier data field (wMsgQual) which is a “bit-map” used to convey duplicate, delayed and out-of-sequence information about messages

Public Functions Documentation

function MamaMsgQual

MamaMsgQual()

function MamaMsgQual

MamaMsgQual(
    mama_u16_t value
)

function MamaMsgQual

MamaMsgQual(
    const MamaMsgQual & copy
)

function ~MamaMsgQual

~MamaMsgQual()

function operator=

MamaMsgQual & operator=(
    const MamaMsgQual & rhs
)

function operator==

bool operator==(
    const MamaMsgQual & rhs
) const

function operator==

bool operator==(
    mama_u16_t rhs
) const

function operator!=

inline bool operator!=(
    const MamaMsgQual & rhs
) const

function operator!=

inline bool operator!=(
    mama_u16_t rhs
) const

function clear

void clear()

function setValue

void setValue(
    mama_u16_t value
)

function setIsDefinatelyDuplicate

void setIsDefinatelyDuplicate(
    bool tf
)

function setIsPossiblyDuplicate

void setIsPossiblyDuplicate(
    bool tf
)

function setIsDefinatelyDelayed

void setIsDefinatelyDelayed(
    bool tf
)

function setIsPossiblyDelayed

void setIsPossiblyDelayed(
    bool tf
)

function setIsOutOfSequence

void setIsOutOfSequence(
    bool tf
)

function getValue

mama_u16_t getValue() const

function getIsDefinatelyDuplicate

bool getIsDefinatelyDuplicate() const

function getIsPossiblyDuplicate

bool getIsPossiblyDuplicate() const

function getIsDefinatelyDelayed

bool getIsDefinatelyDelayed() const

function getIsPossiblyDelayed

bool getIsPossiblyDelayed() const

function getIsOutOfSequence

bool getIsOutOfSequence() const

function getAsString

void getAsString(
    char * result,
    mama_size_t maxLen
) const

function getAsString

const char * getAsString() const

Return a string representation of the message qualifier.

Note that the alternative getAsString() method is more efficient because this method must allocate a temporary buffer (automatically destroyed upon object destruction).

function getAsString

static void getAsString(
    const mama_u16_t & value,
    char * result,
    mama_size_t maxLen
)

Static helper function to convert from the raw 16bit integer representation directly to a colon delimited string of conditions.


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