#include <MamaMsgQual.h>
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) |
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
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
inline bool operator!=(
const MamaMsgQual & rhs
) const
inline 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
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).
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