WSF
WsfL16::Messages::LetterField Class Reference

#include <FieldTypes.hpp>

Inheritance diagram for WsfL16::Messages::LetterField:
Collaboration diagram for WsfL16::Messages::LetterField:

Public Member Functions

void SetLetter (char aChar)
void SetLetter (int aInt)
char GetLetter () const
bool IsUndefined () const
Public Member Functions inherited from WsfL16::Messages::NormalField< 5, NoStatementZero >
 NormalField ()
void SetNoStatement ()
bool IsNoStatement () const
Public Member Functions inherited from WsfL16::Messages::FieldBase< BIT_COUNT >
 FieldBase ()
value_type GetRawData () const
template<class T>
value_type SafeCast (T aValue) const
void SetRawData (value_type aValue)

Additional Inherited Members

Public Types inherited from WsfL16::Messages::NormalField< 5, NoStatementZero >
typedef FieldNoStatementValidTag no_statement_type
Public Types inherited from WsfL16::Messages::FieldBase< BIT_COUNT >
typedef NoAccessorTypeTag accessor_type
typedef NoAccessorUnitsTag accessor_units
typedef FieldNoStatementInvalidTag no_statement_type
typedef NoEnumStringMapTag enum_map_type
typedef SmallIntType< BIT_COUNT >::integer_type value_type
 Use the smallest integer to hold the data.
Static Public Attributes inherited from WsfL16::Messages::NormalField< 5, NoStatementZero >
static const unsigned int cNO_STATEMENT_VALUE
Static Public Attributes inherited from WsfL16::Messages::FieldBase< BIT_COUNT >
static const unsigned int cFIELD_SIZE = BIT_COUNT
static const unsigned int cMID_VALUE = (1u << cFIELD_SIZE) / 2
static const unsigned int cMAX_VALUE = (1u << cFIELD_SIZE) - 1
Protected Member Functions inherited from WsfL16::Messages::FieldBase< BIT_COUNT >
int DecodeTC (unsigned a2C) const
unsigned EncodeTC (int aInt) const
 Encode an integer into a N-bit two's compliment representation.
unsigned EncodeTCMod (int aInt) const
Protected Attributes inherited from WsfL16::Messages::FieldBase< BIT_COUNT >
value_type mValue

Member Function Documentation

◆ GetLetter()

char WsfL16::Messages::LetterField::GetLetter ( ) const
inline

◆ IsUndefined()

bool WsfL16::Messages::LetterField::IsUndefined ( ) const
inline

◆ SetLetter() [1/2]

void WsfL16::Messages::LetterField::SetLetter ( char aChar)

◆ SetLetter() [2/2]

void WsfL16::Messages::LetterField::SetLetter ( int aInt)

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved