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

#include <TypeObject.h>

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

Public Member Functions

 MinimalArrayType ()
 
 MinimalArrayType (CollectionTypeFlag a_collection_flag, const MinimalArrayHeader &a_header, const MinimalCollectionElement &a_element)
 
bool operator== (const MinimalArrayType &other) const
 
bool operator!= (const MinimalArrayType &other) const
 

Public Attributes

CollectionTypeFlag collection_flag
 
MinimalArrayHeader header
 
MinimalCollectionElement element
 

Detailed Description

Definition at line 2404 of file TypeObject.h.

Constructor & Destructor Documentation

◆ MinimalArrayType() [1/2]

OpenDDS::XTypes::MinimalArrayType::MinimalArrayType ( )
inline

Definition at line 2409 of file TypeObject.h.

2410  : collection_flag(0)
2411  , header()
2412  , element()
2413  {}
MinimalCollectionElement element
Definition: TypeObject.h:2407
CollectionTypeFlag collection_flag
Definition: TypeObject.h:2405

◆ MinimalArrayType() [2/2]

OpenDDS::XTypes::MinimalArrayType::MinimalArrayType ( CollectionTypeFlag  a_collection_flag,
const MinimalArrayHeader a_header,
const MinimalCollectionElement a_element 
)
inline

Definition at line 2415 of file TypeObject.h.

2418  : collection_flag(a_collection_flag)
2419  , header(a_header)
2420  , element(a_element)
2421  {}
MinimalCollectionElement element
Definition: TypeObject.h:2407
CollectionTypeFlag collection_flag
Definition: TypeObject.h:2405

Member Function Documentation

◆ operator!=()

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

Definition at line 2428 of file TypeObject.h.

2429  {
2430  return !(*this == other);
2431  }

◆ operator==()

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

Definition at line 2423 of file TypeObject.h.

References collection_flag, element, and header.

2424  {
2425  return collection_flag == other.collection_flag && header == other.header && element == other.element;
2426  }
MinimalCollectionElement element
Definition: TypeObject.h:2407
CollectionTypeFlag collection_flag
Definition: TypeObject.h:2405

Member Data Documentation

◆ collection_flag

CollectionTypeFlag OpenDDS::XTypes::MinimalArrayType::collection_flag

◆ element

MinimalCollectionElement OpenDDS::XTypes::MinimalArrayType::element

◆ header

MinimalArrayHeader OpenDDS::XTypes::MinimalArrayType::header

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