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

#include <TypeObject.h>

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

Public Member Functions

 TypeObject ()
 
 TypeObject (const CompleteTypeObject &a_complete)
 
 TypeObject (const MinimalTypeObject &a_minimal)
 
bool operator== (const TypeObject &other) const
 
bool operator!= (const TypeObject &other) const
 

Public Attributes

ACE_CDR::Octet kind
 
CompleteTypeObject complete
 
MinimalTypeObject minimal
 

Detailed Description

Definition at line 3241 of file TypeObject.h.

Constructor & Destructor Documentation

◆ TypeObject() [1/3]

OpenDDS::XTypes::TypeObject::TypeObject ( )
inline

Definition at line 3246 of file TypeObject.h.

3247  : kind(0)
3248  {}

◆ TypeObject() [2/3]

OpenDDS::XTypes::TypeObject::TypeObject ( const CompleteTypeObject a_complete)
inlineexplicit

Definition at line 3250 of file TypeObject.h.

3251  : kind(EK_COMPLETE)
3252  , complete(a_complete)
3253  {}
CompleteTypeObject complete
Definition: TypeObject.h:3243
const EquivalenceKind EK_COMPLETE
Definition: TypeObject.h:206

◆ TypeObject() [3/3]

OpenDDS::XTypes::TypeObject::TypeObject ( const MinimalTypeObject a_minimal)
inlineexplicit

Definition at line 3255 of file TypeObject.h.

3256  : kind(EK_MINIMAL)
3257  , minimal(a_minimal)
3258  {}
const EquivalenceKind EK_MINIMAL
Definition: TypeObject.h:205
MinimalTypeObject minimal
Definition: TypeObject.h:3244

Member Function Documentation

◆ operator!=()

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

Definition at line 3271 of file TypeObject.h.

3272  {
3273  return !(*this == other);
3274  }

◆ operator==()

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

Definition at line 3260 of file TypeObject.h.

References complete, kind, and minimal.

3261  {
3262  if (kind != other.kind) return false;
3263 
3264  if (kind == EK_COMPLETE) {
3265  return complete == other.complete;
3266  }
3267 
3268  return minimal == other.minimal;
3269  }
CompleteTypeObject complete
Definition: TypeObject.h:3243
MinimalTypeObject minimal
Definition: TypeObject.h:3244
const EquivalenceKind EK_COMPLETE
Definition: TypeObject.h:206

Member Data Documentation

◆ complete

CompleteTypeObject OpenDDS::XTypes::TypeObject::complete

◆ kind

ACE_CDR::Octet OpenDDS::XTypes::TypeObject::kind

◆ minimal

MinimalTypeObject OpenDDS::XTypes::TypeObject::minimal

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