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

#include <TypeObject.h>

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

Public Member Functions

 MinimalAnnotationParameter ()
 
bool operator== (const MinimalAnnotationParameter &other) const
 
bool operator!= (const MinimalAnnotationParameter &other) const
 

Public Attributes

CommonAnnotationParameter common
 
NameHash name_hash
 
AnnotationParameterValue default_value
 

Detailed Description

Definition at line 1844 of file TypeObject.h.

Constructor & Destructor Documentation

◆ MinimalAnnotationParameter()

OpenDDS::XTypes::MinimalAnnotationParameter::MinimalAnnotationParameter ( )
inline

Definition at line 1849 of file TypeObject.h.

1850  {
1851  name_hash[0] = name_hash[1] = name_hash[2] = name_hash[3] = 0;
1852  }

Member Function Documentation

◆ operator!=()

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

Definition at line 1859 of file TypeObject.h.

1860  {
1861  return !(*this == other);
1862  }

◆ operator==()

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

Definition at line 1854 of file TypeObject.h.

References common, default_value, name_hash, and OpenDDS::XTypes::name_hash_equal().

1855  {
1856  return common == other.common && name_hash_equal(name_hash, other.name_hash) && default_value == other.default_value;
1857  }
bool name_hash_equal(const NameHash &x, const NameHash &y)
Definition: TypeObject.h:301
AnnotationParameterValue default_value
Definition: TypeObject.h:1847

Member Data Documentation

◆ common

CommonAnnotationParameter OpenDDS::XTypes::MinimalAnnotationParameter::common

◆ default_value

AnnotationParameterValue OpenDDS::XTypes::MinimalAnnotationParameter::default_value

◆ name_hash

NameHash OpenDDS::XTypes::MinimalAnnotationParameter::name_hash

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