OpenDDS  Snapshot(2023/04/28-20:55)
Public Member Functions | Public Attributes | List of all members
OpenDDS::XTypes::CommonBitfield Struct Reference

#include <TypeObject.h>

Public Member Functions

 CommonBitfield ()
 
bool operator== (const CommonBitfield &other) const
 
bool operator!= (const CommonBitfield &other) const
 

Public Attributes

ACE_CDR::UShort position
 
BitsetMemberFlag flags
 
ACE_CDR::Octet bitcount
 
TypeKind holder_type
 

Detailed Description

Definition at line 2798 of file TypeObject.h.

Constructor & Destructor Documentation

◆ CommonBitfield()

OpenDDS::XTypes::CommonBitfield::CommonBitfield ( )
inline

Definition at line 2804 of file TypeObject.h.

2805  : position(0)
2806  , flags(0)
2807  , bitcount(0)
2808  , holder_type(TK_NONE)
2809  {}
const TypeKind TK_NONE
Definition: TypeObject.h:213

Member Function Documentation

◆ operator!=()

bool OpenDDS::XTypes::CommonBitfield::operator!= ( const CommonBitfield other) const
inline

Definition at line 2816 of file TypeObject.h.

2817  {
2818  return !(*this == other);
2819  }

◆ operator==()

bool OpenDDS::XTypes::CommonBitfield::operator== ( const CommonBitfield other) const
inline

Definition at line 2811 of file TypeObject.h.

References bitcount, flags, holder_type, and position.

2812  {
2813  return position == other.position && flags == other.flags && bitcount == other.bitcount && holder_type == other.holder_type;
2814  }

Member Data Documentation

◆ bitcount

ACE_CDR::Octet OpenDDS::XTypes::CommonBitfield::bitcount

◆ flags

BitsetMemberFlag OpenDDS::XTypes::CommonBitfield::flags

◆ holder_type

TypeKind OpenDDS::XTypes::CommonBitfield::holder_type

◆ position

ACE_CDR::UShort OpenDDS::XTypes::CommonBitfield::position

The documentation for this struct was generated from the following file: