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

#include <TypeObject.h>

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

Public Member Functions

 MinimalEnumeratedLiteral ()
 
 MinimalEnumeratedLiteral (const CommonEnumeratedLiteral &a_common, const MinimalMemberDetail &a_detail)
 
bool operator< (const MinimalEnumeratedLiteral &other) const
 
bool operator== (const MinimalEnumeratedLiteral &other) const
 
bool operator!= (const MinimalEnumeratedLiteral &other) const
 

Public Attributes

CommonEnumeratedLiteral common
 
MinimalMemberDetail detail
 

Detailed Description

Definition at line 2539 of file TypeObject.h.

Constructor & Destructor Documentation

◆ MinimalEnumeratedLiteral() [1/2]

OpenDDS::XTypes::MinimalEnumeratedLiteral::MinimalEnumeratedLiteral ( )
inline

Definition at line 2543 of file TypeObject.h.

2543 {}

◆ MinimalEnumeratedLiteral() [2/2]

OpenDDS::XTypes::MinimalEnumeratedLiteral::MinimalEnumeratedLiteral ( const CommonEnumeratedLiteral a_common,
const MinimalMemberDetail a_detail 
)
inline

Definition at line 2545 of file TypeObject.h.

2547  : common(a_common)
2548  , detail(a_detail)
2549  {}

Member Function Documentation

◆ operator!=()

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

Definition at line 2561 of file TypeObject.h.

2562  {
2563  return !(*this == other);
2564  }

◆ operator<()

bool OpenDDS::XTypes::MinimalEnumeratedLiteral::operator< ( const MinimalEnumeratedLiteral other) const
inline

Definition at line 2551 of file TypeObject.h.

References common, and OpenDDS::XTypes::CommonEnumeratedLiteral::value.

2552  {
2553  return common.value < other.common.value;
2554  }

◆ operator==()

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

Definition at line 2556 of file TypeObject.h.

References common, and detail.

2557  {
2558  return common == other.common && detail == other.detail;
2559  }

Member Data Documentation

◆ common

CommonEnumeratedLiteral OpenDDS::XTypes::MinimalEnumeratedLiteral::common

◆ detail

MinimalMemberDetail OpenDDS::XTypes::MinimalEnumeratedLiteral::detail

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