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

#include <TypeObject.h>

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

Public Member Functions

 CommonCollectionElement ()
 
 CommonCollectionElement (CollectionElementFlag a_element_flags, const TypeIdentifier &a_type)
 
bool operator== (const CommonCollectionElement &other) const
 
bool operator!= (const CommonCollectionElement &other) const
 

Public Attributes

CollectionElementFlag element_flags
 
TypeIdentifier type
 

Detailed Description

Definition at line 2121 of file TypeObject.h.

Constructor & Destructor Documentation

◆ CommonCollectionElement() [1/2]

OpenDDS::XTypes::CommonCollectionElement::CommonCollectionElement ( )
inline

Definition at line 2125 of file TypeObject.h.

2126  : element_flags(0)
2127  {}

◆ CommonCollectionElement() [2/2]

OpenDDS::XTypes::CommonCollectionElement::CommonCollectionElement ( CollectionElementFlag  a_element_flags,
const TypeIdentifier a_type 
)
inline

Definition at line 2129 of file TypeObject.h.

2131  : element_flags(a_element_flags)
2132  , type(a_type)
2133  {}

Member Function Documentation

◆ operator!=()

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

Definition at line 2140 of file TypeObject.h.

2141  {
2142  return !(*this == other);
2143  }

◆ operator==()

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

Definition at line 2135 of file TypeObject.h.

References element_flags, and type.

2136  {
2137  return element_flags == other.element_flags && type == other.type;
2138  }

Member Data Documentation

◆ element_flags

CollectionElementFlag OpenDDS::XTypes::CommonCollectionElement::element_flags

◆ type

TypeIdentifier OpenDDS::XTypes::CommonCollectionElement::type

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