WSF
WsfL16::Messages::IntegerFieldNS< BIT_COUNT, NO_STATEMENT_TAG > Class Template Reference

Integral field with a 'NoStatement' value. Supports conversion to/from int. More...

#include <FieldTypes.hpp>

Inheritance diagram for WsfL16::Messages::IntegerFieldNS< BIT_COUNT, NO_STATEMENT_TAG >:
Collaboration diagram for WsfL16::Messages::IntegerFieldNS< BIT_COUNT, NO_STATEMENT_TAG >:

Public Types

typedef NormalField< BIT_COUNT, NO_STATEMENT_TAG >::value_type value_type
typedef unsigned int accessor_type
Public Types inherited from WsfL16::Messages::NormalField< BIT_COUNT, NO_STATEMENT_TAG >
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.

Public Member Functions

IntegerFieldNSoperator= (unsigned int aValue)
 operator unsigned int () const
Public Member Functions inherited from WsfL16::Messages::NormalField< BIT_COUNT, NO_STATEMENT_TAG >
 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

Static Public Attributes inherited from WsfL16::Messages::NormalField< BIT_COUNT, NO_STATEMENT_TAG >
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

Detailed Description

template<unsigned BIT_COUNT, class NO_STATEMENT_TAG>
class WsfL16::Messages::IntegerFieldNS< BIT_COUNT, NO_STATEMENT_TAG >

Integral field with a 'NoStatement' value. Supports conversion to/from int.

Member Typedef Documentation

◆ accessor_type

template<unsigned BIT_COUNT, class NO_STATEMENT_TAG>
typedef unsigned int WsfL16::Messages::IntegerFieldNS< BIT_COUNT, NO_STATEMENT_TAG >::accessor_type

◆ value_type

template<unsigned BIT_COUNT, class NO_STATEMENT_TAG>
typedef NormalField<BIT_COUNT,NO_STATEMENT_TAG>::value_type WsfL16::Messages::IntegerFieldNS< BIT_COUNT, NO_STATEMENT_TAG >::value_type

Member Function Documentation

◆ operator unsigned int()

template<unsigned BIT_COUNT, class NO_STATEMENT_TAG>
WsfL16::Messages::IntegerFieldNS< BIT_COUNT, NO_STATEMENT_TAG >::operator unsigned int ( ) const
inline

◆ operator=()

template<unsigned BIT_COUNT, class NO_STATEMENT_TAG>
IntegerFieldNS & WsfL16::Messages::IntegerFieldNS< BIT_COUNT, NO_STATEMENT_TAG >::operator= ( unsigned int aValue)
inline

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