Classes | Public Member Functions

DynamicData< DELEGATE > Class Template Reference

#include <DynamicData.hpp>

Inheritance diagram for DynamicData< DELEGATE >:

List of all members.

Classes

class  ConstMemberDescriptorIterator
class  MemberDescriptorIterator

Public Member Functions

const
dds::type::dynamic::DynamicType
type () const
MemberDescriptorIterator begin ()
MemberDescriptorIterator end ()
ConstMemberDescriptorIterator begin () const
ConstMemberDescriptorIterator end () const
dds::type::MemberId member_id (const std::string &name) const
dds::type::MemberId member_idx (unsigned long index) const
void clear_all_values ()
void clear_nonkey_values ()
void clear_value (dds::type::MemberId id)
const
dds::type::dynamic::DynamicData
loan_value (dds::type::MemberId id) const
dds::type::dynamic::DynamicDataloan_value (dds::type::MemberId id)
void return_loaned_value (const dds::type::dynamic::DynamicData &value)
template<typename T >
value (dds::type::MemberId id) const
template<typename T >
void value (dds::type::MemberId id, const T &value)
template<typename T , typename T_FWD_ITER >
void values (T_FWD_ITER begin, dds::type::MemberId id, uint32_t &element_count=dds::core::LENGTH_UNLIMITED) const
template<typename T , typename T_RNDA_ITER >
void values (dds::type::MemberId id, T_RNDA_ITER begin, T_RNDA_ITER end)

Detailed Description

template<typename DELEGATE>
class tdds::type::dynamic::DynamicData< DELEGATE >

Definition at line 33 of file DynamicData.hpp.


Member Function Documentation

MemberDescriptorIterator begin (  ) 
ConstMemberDescriptorIterator begin (  )  const
void clear_all_values (  ) 
void clear_nonkey_values (  ) 
void clear_value ( dds::type::MemberId  id  ) 
ConstMemberDescriptorIterator end (  )  const
const dds::type::dynamic::DynamicData& loan_value ( dds::type::MemberId  id  )  const
dds::type::MemberId member_id ( const std::string &  name  )  const
dds::type::MemberId member_idx ( unsigned long  index  )  const
void return_loaned_value ( const dds::type::dynamic::DynamicData< DELEGATE > &  value  ) 
const dds::type::dynamic::DynamicType& type (  )  const
T value ( dds::type::MemberId  id  )  const

Implementations shall minimally provide specializations for all DDS primitive types, strings, wide strings, and DynamicData.

void value ( dds::type::MemberId  id,
const T &  value 
)

Implementations shall minimally provide specializations for all DDS primitive types, strings, wide strings, and DynamicData.

void values ( dds::type::MemberId  id,
T_RNDA_ITER  begin,
T_RNDA_ITER  end 
)

Implementations shall minimally provide specializations of T for all DDS primitive types, strings, wide strings, and DynamicData.

T_RNDA_ITER is a random-access iterator over elements of type T. However, implementations shall not modify the values within the range [begin, end).

void values ( T_FWD_ITER  begin,
dds::type::MemberId  id,
uint32_t &  element_count = dds::core::LENGTH_UNLIMITED 
) const

Implementations shall minimally provide specializations of T for all DDS primitive types, strings, wide strings, and DynamicData.

T_FWD_ITER is a forward iterator over elements of type T.

As an input, element_count indicates the maximum number of elements of the collection to retrieve into the provided iterator. As an output, it indicates the number of elements in the collection, regardless of how many were retrieved. By comparing the input and output values of this argument, applications can detect overflow and underflow conditions.


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