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

#include <annotations.h>

Public Member Functions

 DataRepresentation ()
 
void add (const DataRepresentation &other)
 
void set_all (bool value)
 
bool only_xcdr1 () const
 
bool not_only_xcdr1 () const
 
bool only_xcdr2 () const
 
bool not_only_xcdr2 () const
 
bool only_xml () const
 
bool not_only_xml () const
 

Public Attributes

bool xcdr1
 
bool xcdr2
 
bool xml
 
bool unaligned
 

Detailed Description

Definition at line 344 of file annotations.h.

Constructor & Destructor Documentation

◆ DataRepresentation()

OpenDDS::DataRepresentation::DataRepresentation ( )
inline

Definition at line 350 of file annotations.h.

351  {
352  set_all(false);
353  }
void set_all(bool value)
Definition: annotations.h:363

Member Function Documentation

◆ add()

void OpenDDS::DataRepresentation::add ( const DataRepresentation other)
inline

Definition at line 355 of file annotations.h.

References unaligned, xcdr1, xcdr2, and xml.

Referenced by OpenDDS::DataRepresentationAnnotation::node_value_exists().

356  {
357  xcdr1 |= other.xcdr1;
358  xcdr2 |= other.xcdr2;
359  xml |= other.xml;
360  unaligned |= other.unaligned;
361  }

◆ not_only_xcdr1()

bool OpenDDS::DataRepresentation::not_only_xcdr1 ( ) const
inline

Definition at line 376 of file annotations.h.

◆ not_only_xcdr2()

bool OpenDDS::DataRepresentation::not_only_xcdr2 ( ) const
inline

Definition at line 386 of file annotations.h.

◆ not_only_xml()

bool OpenDDS::DataRepresentation::not_only_xml ( ) const
inline

Definition at line 396 of file annotations.h.

◆ only_xcdr1()

bool OpenDDS::DataRepresentation::only_xcdr1 ( ) const
inline

Definition at line 371 of file annotations.h.

◆ only_xcdr2()

bool OpenDDS::DataRepresentation::only_xcdr2 ( ) const
inline

Definition at line 381 of file annotations.h.

◆ only_xml()

bool OpenDDS::DataRepresentation::only_xml ( ) const
inline

Definition at line 391 of file annotations.h.

◆ set_all()

void OpenDDS::DataRepresentation::set_all ( bool  value)
inline

Definition at line 363 of file annotations.h.

References value.

364  {
365  xcdr1 = value;
366  xcdr2 = value;
367  xml = value;
368  unaligned = value;
369  }
const LogLevel::Value value
Definition: debug.cpp:61

Member Data Documentation

◆ unaligned

bool OpenDDS::DataRepresentation::unaligned

◆ xcdr1

bool OpenDDS::DataRepresentation::xcdr1

◆ xcdr2

bool OpenDDS::DataRepresentation::xcdr2

◆ xml

bool OpenDDS::DataRepresentation::xml

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