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

#include <TypeObject.h>

Public Member Functions

 PlainCollectionHeader ()
 
 PlainCollectionHeader (const EquivalenceKind &a_equiv_kind, const CollectionElementFlag &a_element_flags)
 
bool operator< (const PlainCollectionHeader &other) const
 

Public Attributes

EquivalenceKind equiv_kind
 
CollectionElementFlag element_flags
 

Detailed Description

Definition at line 458 of file TypeObject.h.

Constructor & Destructor Documentation

◆ PlainCollectionHeader() [1/2]

OpenDDS::XTypes::PlainCollectionHeader::PlainCollectionHeader ( )
inline

Definition at line 462 of file TypeObject.h.

463  : equiv_kind(0)
464  , element_flags(0)
465  {}
CollectionElementFlag element_flags
Definition: TypeObject.h:460

◆ PlainCollectionHeader() [2/2]

OpenDDS::XTypes::PlainCollectionHeader::PlainCollectionHeader ( const EquivalenceKind a_equiv_kind,
const CollectionElementFlag a_element_flags 
)
inline

Definition at line 467 of file TypeObject.h.

469  : equiv_kind(a_equiv_kind)
470  , element_flags(a_element_flags)
471  {}
CollectionElementFlag element_flags
Definition: TypeObject.h:460

Member Function Documentation

◆ operator<()

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

Definition at line 473 of file TypeObject.h.

References element_flags, and equiv_kind.

474  {
475  if (equiv_kind < other.equiv_kind) return true;
476  if (other.equiv_kind < equiv_kind) return false;
477  if (element_flags < other.element_flags) return true;
478  if (other.element_flags < element_flags) return false;
479  return false;
480  }
CollectionElementFlag element_flags
Definition: TypeObject.h:460

Member Data Documentation

◆ element_flags

CollectionElementFlag OpenDDS::XTypes::PlainCollectionHeader::element_flags

◆ equiv_kind

EquivalenceKind OpenDDS::XTypes::PlainCollectionHeader::equiv_kind

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