OpenDDS  Snapshot(2023/04/28-20:55)
Namespaces | Macros | Functions
DynamicDataImpl.cpp File Reference
#include <DCPS/DdsDcps_pch.h>
#include "DynamicDataImpl.h"
#include "DynamicTypeMemberImpl.h"
#include "Utils.h"
#include <dds/DCPS/DisjointSequence.h>
#include <dds/DCPS/DCPS_Utils.h>
#include <dds/DdsDynamicDataSeqTypeSupportImpl.h>
#include <dds/DdsDcpsCoreTypeSupportImpl.h>
Include dependency graph for DynamicDataImpl.cpp:

Go to the source code of this file.

Namespaces

 OpenDDS
 The Internal API and Implementation of OpenDDS.
 
module  OpenDDS::XTypes
 
 OpenDDS::DCPS
 

Macros

#define SINGLE_VALUE_DESTRUCT(T)   static_cast<ACE_OutputCDR::T*>(active_)->~T(); break
 
#define SEQUENCE_VALUE_PLACEMENT_NEW(T, N)   active_ = new(N) DDS::T(reinterpret_cast<const DDS::T&>(rhs.N)); break;
 
#define SEQUENCE_VALUE_DESTRUCT(T)   static_cast<DDS::T*>(active_)->~T(); break
 
#define SEQUENCE_VALUE_GETTERS(T)   return *static_cast<DDS::T*>(active_)
 

Functions

template<>
bool OpenDDS::XTypes::DynamicDataImpl::get_boolean_from_bitmask< CORBA::UInt8 > (CORBA::ULong index, CORBA::Boolean &value)
 
template<>
void OpenDDS::XTypes::DynamicDataImpl::move_sequence_helper< DDS::StringSeq > (const DataContainer::const_sequence_iterator &it, DynamicDataImpl *data)
 
template<>
void OpenDDS::XTypes::DynamicDataImpl::move_sequence_helper< DDS::Int8Seq > (const DataContainer::const_sequence_iterator &it, DynamicDataImpl *data)
 
template<>
void OpenDDS::XTypes::DynamicDataImpl::move_sequence_helper< DDS::UInt8Seq > (const DataContainer::const_sequence_iterator &it, DynamicDataImpl *data)
 
template<>
void OpenDDS::XTypes::DynamicDataImpl::move_sequence_helper< DDS::CharSeq > (const DataContainer::const_sequence_iterator &it, DynamicDataImpl *data)
 
template<>
void OpenDDS::XTypes::DynamicDataImpl::move_sequence_helper< DDS::ByteSeq > (const DataContainer::const_sequence_iterator &it, DynamicDataImpl *data)
 
template<>
void OpenDDS::XTypes::DynamicDataImpl::move_sequence_helper< DDS::BooleanSeq > (const DataContainer::const_sequence_iterator &it, DynamicDataImpl *data)
 
bool OpenDDS::DCPS::serialized_size (const Encoding &encoding, size_t &size, const XTypes::DynamicDataImpl &data)
 
bool OpenDDS::DCPS::operator<< (Serializer &ser, const XTypes::DynamicDataImpl &data)
 
bool OpenDDS::DCPS::serialized_size (const Encoding &encoding, size_t &size, const KeyOnly< const XTypes::DynamicDataImpl > &key)
 
bool OpenDDS::DCPS::operator<< (Serializer &ser, const KeyOnly< const XTypes::DynamicDataImpl > &key)
 

Macro Definition Documentation

◆ SEQUENCE_VALUE_DESTRUCT

#define SEQUENCE_VALUE_DESTRUCT (   T)    static_cast<DDS::T*>(active_)->~T(); break

◆ SEQUENCE_VALUE_GETTERS

#define SEQUENCE_VALUE_GETTERS (   T)    return *static_cast<DDS::T*>(active_)

◆ SEQUENCE_VALUE_PLACEMENT_NEW

#define SEQUENCE_VALUE_PLACEMENT_NEW (   T,
 
)    active_ = new(N) DDS::T(reinterpret_cast<const DDS::T&>(rhs.N)); break;

◆ SINGLE_VALUE_DESTRUCT

#define SINGLE_VALUE_DESTRUCT (   T)    static_cast<ACE_OutputCDR::T*>(active_)->~T(); break