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

#include <TypeObject.h>

Public Member Functions

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

Public Attributes

ACE_CDR::UShort position
 
BitflagFlag flags
 

Detailed Description

Definition at line 2694 of file TypeObject.h.

Constructor & Destructor Documentation

◆ CommonBitflag()

OpenDDS::XTypes::CommonBitflag::CommonBitflag ( )
inline

Definition at line 2698 of file TypeObject.h.

2699  : position(0)
2700  , flags(0)
2701  {}

Member Function Documentation

◆ operator!=()

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

Definition at line 2708 of file TypeObject.h.

2709  {
2710  return !(*this == other);
2711  }

◆ operator==()

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

Definition at line 2703 of file TypeObject.h.

References flags, and position.

2704  {
2705  return position == other.position && flags == other.flags;
2706  }

Member Data Documentation

◆ flags

BitflagFlag OpenDDS::XTypes::CommonBitflag::flags

◆ position

ACE_CDR::UShort OpenDDS::XTypes::CommonBitflag::position

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