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

#include <TypeObject.h>

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

Public Member Functions

 TypeIdentifierWithSize ()
 
 TypeIdentifierWithSize (const TypeIdentifier &ti, ACE_CDR::ULong to_size)
 
bool operator== (const TypeIdentifierWithSize &other) const
 
bool operator!= (const TypeIdentifierWithSize &other) const
 

Public Attributes

TypeIdentifier type_id
 
ACE_CDR::ULong typeobject_serialized_size
 
long typeobject_serialized_size
 

Detailed Description

Definition at line 3331 of file TypeObject.h.

Constructor & Destructor Documentation

◆ TypeIdentifierWithSize() [1/2]

OpenDDS::XTypes::TypeIdentifierWithSize::TypeIdentifierWithSize ( )
inline

Definition at line 3335 of file TypeObject.h.

3337  {}

◆ TypeIdentifierWithSize() [2/2]

OpenDDS::XTypes::TypeIdentifierWithSize::TypeIdentifierWithSize ( const TypeIdentifier ti,
ACE_CDR::ULong  to_size 
)
inline

Definition at line 3339 of file TypeObject.h.

3340  : type_id(ti)
3341  , typeobject_serialized_size(to_size)
3342  {}

Member Function Documentation

◆ operator!=()

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

Definition at line 3349 of file TypeObject.h.

3350  {
3351  return !(*this == other);
3352  }

◆ operator==()

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

Definition at line 3344 of file TypeObject.h.

References type_id, and typeobject_serialized_size.

3345  {
3346  return type_id == other.type_id && typeobject_serialized_size == other.typeobject_serialized_size;
3347  }

Member Data Documentation

◆ type_id

TypeIdentifier OpenDDS::XTypes::TypeIdentifierWithSize::type_id

◆ typeobject_serialized_size [1/2]

long OpenDDS::XTypes::TypeIdentifierWithSize::typeobject_serialized_size

Definition at line 56 of file TypeObject.idl.

◆ typeobject_serialized_size [2/2]

ACE_CDR::ULong OpenDDS::XTypes::TypeIdentifierWithSize::typeobject_serialized_size

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