WSF
WsfL16::Messages::SpareField< BIT_COUNT > Struct Template Reference

A field defined as spare. More...

#include <FieldTypes.hpp>

Inheritance diagram for WsfL16::Messages::SpareField< BIT_COUNT >:
Collaboration diagram for WsfL16::Messages::SpareField< BIT_COUNT >:

Additional Inherited Members

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.
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)
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

Detailed Description

template<unsigned BIT_COUNT>
struct WsfL16::Messages::SpareField< BIT_COUNT >

A field defined as spare.


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