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

#include <TypeObject.h>

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

Public Member Functions

 AppliedBuiltinMemberAnnotations ()
 
 AppliedBuiltinMemberAnnotations (const Optional< DCPS::String > &a_unit, const Optional< AnnotationParameterValue > &a_min, const Optional< AnnotationParameterValue > &a_max, const Optional< DCPS::String > &a_hash_id)
 
bool operator== (const AppliedBuiltinMemberAnnotations &other) const
 
bool operator!= (const AppliedBuiltinMemberAnnotations &other) const
 

Public Attributes

Optional< DCPS::Stringunit
 
Optional< AnnotationParameterValuemin
 
Optional< AnnotationParameterValuemax
 
Optional< DCPS::Stringhash_id
 

Detailed Description

Definition at line 1195 of file TypeObject.h.

Constructor & Destructor Documentation

◆ AppliedBuiltinMemberAnnotations() [1/2]

OpenDDS::XTypes::AppliedBuiltinMemberAnnotations::AppliedBuiltinMemberAnnotations ( )
inline

Definition at line 1201 of file TypeObject.h.

1201 {}

◆ AppliedBuiltinMemberAnnotations() [2/2]

OpenDDS::XTypes::AppliedBuiltinMemberAnnotations::AppliedBuiltinMemberAnnotations ( const Optional< DCPS::String > &  a_unit,
const Optional< AnnotationParameterValue > &  a_min,
const Optional< AnnotationParameterValue > &  a_max,
const Optional< DCPS::String > &  a_hash_id 
)

Definition at line 54 of file TypeObject.cpp.

58  : unit(a_unit)
59  , min(a_min)
60  , max(a_max)
61  , hash_id(a_hash_id)
62 {}
Optional< AnnotationParameterValue > max
Definition: TypeObject.h:1198
Optional< AnnotationParameterValue > min
Definition: TypeObject.h:1197

Member Function Documentation

◆ operator!=()

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

Definition at line 1213 of file TypeObject.h.

1214  {
1215  return !(*this == other);
1216  }

◆ operator==()

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

Definition at line 1208 of file TypeObject.h.

References hash_id, max, min, and unit.

1209  {
1210  return unit == other.unit && min == other.min && max == other.max && hash_id == other.hash_id;
1211  }
Optional< AnnotationParameterValue > max
Definition: TypeObject.h:1198
Optional< AnnotationParameterValue > min
Definition: TypeObject.h:1197

Member Data Documentation

◆ hash_id

Optional<DCPS::String> OpenDDS::XTypes::AppliedBuiltinMemberAnnotations::hash_id

◆ max

Optional<AnnotationParameterValue> OpenDDS::XTypes::AppliedBuiltinMemberAnnotations::max

◆ min

Optional<AnnotationParameterValue> OpenDDS::XTypes::AppliedBuiltinMemberAnnotations::min

◆ unit

Optional<DCPS::String> OpenDDS::XTypes::AppliedBuiltinMemberAnnotations::unit

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