OpenDDS  Snapshot(2023/04/07-19:43)
Public Member Functions | Public Attributes | List of all members
OpenDDS::XTypes::MinimalBitfield Struct Reference

#include <TypeObject.h>

Collaboration diagram for OpenDDS::XTypes::MinimalBitfield:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

CommonBitfield common
 
NameHash name_hash
 

Detailed Description

Definition at line 2839 of file TypeObject.h.

Constructor & Destructor Documentation

◆ MinimalBitfield()

OpenDDS::XTypes::MinimalBitfield::MinimalBitfield ( )
inline

Definition at line 2843 of file TypeObject.h.

2844  {
2845  name_hash[0] = name_hash[1] = name_hash[2] = name_hash[3] = 0;
2846  }

Member Function Documentation

◆ operator!=()

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

Definition at line 2853 of file TypeObject.h.

2854  {
2855  return !(*this == other);
2856  }

◆ operator==()

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

Definition at line 2848 of file TypeObject.h.

References common, name_hash, and OpenDDS::XTypes::name_hash_equal().

2849  {
2850  return common == other.common && name_hash_equal(name_hash, other.name_hash);
2851  }
bool name_hash_equal(const NameHash &x, const NameHash &y)
Definition: TypeObject.h:301

Member Data Documentation

◆ common

CommonBitfield OpenDDS::XTypes::MinimalBitfield::common

◆ name_hash

NameHash OpenDDS::XTypes::MinimalBitfield::name_hash

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