OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <DynamicDataImpl.h>
Classes | |
struct | DataContainer |
struct | SequenceValue |
struct | SingleValue |
Private Types | |
enum | FoundStatus { FOUND_IN_COMPLEX_MAP, FOUND_IN_NON_COMPLEX_MAP, NOT_FOUND } |
Private Member Functions | |
DDS::ReturnCode_t | get_simple_value_boolean (DCPS::Value &value, DDS::MemberId id) const |
DDS::ReturnCode_t | get_simple_value_char (DCPS::Value &value, DDS::MemberId id) const |
template<typename ValueType > | |
DDS::ReturnCode_t | get_simple_value_primitive (DCPS::Value &value, DDS::MemberId id) const |
DDS::ReturnCode_t | get_simple_value_string (DCPS::Value &value, DDS::MemberId id) const |
DDS::ReturnCode_t | get_simple_value_enum (DCPS::Value &value, DDS::MemberId id) const |
CORBA::ULong | get_sequence_size () const |
void | erase_member (DDS::MemberId id) |
bool | read_basic_value (ACE_OutputCDR::from_int8 &value) |
Group of functions to read a basic value represented by this DynamicData instance. More... | |
bool | read_basic_value (ACE_OutputCDR::from_uint8 &value) |
bool | read_basic_value (CORBA::Short &value) |
bool | read_basic_value (CORBA::UShort &value) |
bool | read_basic_value (CORBA::Long &value) |
bool | read_basic_value (CORBA::ULong &value) |
bool | read_basic_value (CORBA::LongLong &value) |
bool | read_basic_value (CORBA::ULongLong &value) |
bool | read_basic_value (CORBA::Float &value) |
bool | read_basic_value (CORBA::Double &value) |
bool | read_basic_value (CORBA::LongDouble &value) |
bool | read_basic_value (ACE_OutputCDR::from_char &value) |
bool | read_basic_value (ACE_OutputCDR::from_wchar &value) |
bool | read_basic_value (ACE_OutputCDR::from_octet &value) |
bool | read_basic_value (ACE_OutputCDR::from_boolean &value) |
bool | read_basic_value (char *&value) const |
void | cast_to_enum_value (ACE_OutputCDR::from_int8 &dst, CORBA::Long src) const |
void | cast_to_enum_value (CORBA::Short &dst, CORBA::Long src) const |
void | cast_to_enum_value (CORBA::Long &dst, CORBA::Long src) const |
template<typename ValueType > | |
void | cast_to_enum_value (ValueType &dst, CORBA::Long src) const |
template<typename ValueType > | |
bool | read_basic_in_single_map (ValueType &value, DDS::MemberId id) |
Read a basic member from a containing type. More... | |
template<typename ValueType > | |
bool | read_basic_in_complex_map (ValueType &value, DDS::MemberId id) |
template<typename ValueType > | |
bool | read_basic_member (ValueType &value, DDS::MemberId id) |
template<typename ValueType > | |
bool | get_value_from_self (ValueType &value, DDS::MemberId id) |
template<TypeKind ValueTypeKind, typename ValueType > | |
bool | get_value_from_enum (ValueType &value, DDS::MemberId id) |
template<TypeKind ValueTypeKind, typename ValueType > | |
bool | get_value_from_bitmask (ValueType &value, DDS::MemberId id) |
template<TypeKind ValueTypeKind, typename ValueType > | |
bool | get_value_from_struct (ValueType &value, DDS::MemberId id) |
template<TypeKind ValueTypeKind, typename ValueType > | |
bool | get_value_from_union (ValueType &value, DDS::MemberId id) |
template<TypeKind ValueTypeKind, typename ValueType > | |
bool | get_value_from_collection (ValueType &value, DDS::MemberId id) |
template<TypeKind CharKind, TypeKind StringKind, typename FromCharT , typename CharT > | |
DDS::ReturnCode_t | get_char_common (CharT &value, DDS::MemberId id) |
template<typename UIntType > | |
bool | get_boolean_from_bitmask (CORBA::ULong index, CORBA::Boolean &value) |
template<TypeKind MemberTypeKind, typename MemberType > | |
bool | set_value_to_struct (DDS::MemberId id, const MemberType &value) |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const ACE_OutputCDR::from_boolean &value) const |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const ACE_OutputCDR::from_octet &value) const |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const ACE_OutputCDR::from_char &value) const |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const ACE_OutputCDR::from_int8 &value) const |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const ACE_OutputCDR::from_uint8 &value) const |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const CORBA::Short &value) const |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const CORBA::UShort &value) const |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const CORBA::Long &value) const |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const CORBA::ULong &value) const |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const CORBA::LongLong &value) const |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const CORBA::ULongLong &value) const |
template<typename MemberType > | |
bool | cast_to_discriminator_value (CORBA::Long &disc_value, const MemberType &value) const |
template<TypeKind MemberTypeKind, typename MemberType > | |
bool | set_value_to_union (DDS::MemberId id, const MemberType &value, TypeKind enum_or_bitmask=TK_NONE, LBound lower=0, LBound upper=0) |
template<TypeKind ElementTypeKind, typename ElementType > | |
bool | set_value_to_collection (DDS::MemberId id, const ElementType &value, TypeKind coll_tk, TypeKind enum_or_bitmask=TK_NONE, LBound lower=0, LBound upper=0) |
template<TypeKind ValueTypeKind, typename ValueType > | |
DDS::ReturnCode_t | set_single_value (DDS::MemberId id, const ValueType &value, TypeKind enum_or_bitmask=TK_NONE, LBound lower=0, LBound upper=0) |
template<TypeKind CharKind, TypeKind StringKind, typename FromCharT > | |
DDS::ReturnCode_t | set_char_common (DDS::MemberId id, const FromCharT &value) |
bool | check_index_from_id (TypeKind tk, DDS::MemberId id, CORBA::ULong bound) const |
bool | is_default_member_selected (CORBA::Long disc_val, DDS::MemberId default_id) const |
bool | read_discriminator (CORBA::Long &disc_val) const |
DDS::MemberId | find_selected_member () const |
bool | validate_discriminator (CORBA::Long disc_val, const DDS::MemberDescriptor_var &md) const |
bool | set_complex_to_struct (DDS::MemberId id, DDS::DynamicData_var value) |
bool | set_complex_to_union (DDS::MemberId id, DDS::DynamicData_var value, const DDS::TypeDescriptor_var &descriptor) |
bool | set_complex_to_collection (DDS::MemberId id, DDS::DynamicData_var value, TypeKind tk) |
bool | validate_member_id_collection (const DDS::TypeDescriptor_var &descriptor, DDS::MemberId id, TypeKind collection_tk) const |
DDS::ReturnCode_t | clear_value_i (DDS::MemberId id, const DDS::DynamicType_var &member_type) |
bool | insert_single (DDS::MemberId id, const ACE_OutputCDR::from_int8 &value) |
bool | insert_single (DDS::MemberId id, const ACE_OutputCDR::from_uint8 &value) |
bool | insert_single (DDS::MemberId id, const ACE_OutputCDR::from_char &value) |
bool | insert_single (DDS::MemberId id, const ACE_OutputCDR::from_octet &value) |
bool | insert_single (DDS::MemberId id, const ACE_OutputCDR::from_boolean &value) |
template<typename SingleType > | |
bool | insert_single (DDS::MemberId id, const SingleType &value) |
bool | insert_complex (DDS::MemberId id, const DDS::DynamicData_var &value) |
template<typename SequenceType > | |
bool | insert_sequence (DDS::MemberId id, const SequenceType &value) |
template<TypeKind ElementTypeKind> | |
bool | check_seqmem_in_struct_and_union (DDS::MemberId id, TypeKind enum_or_bitmask, LBound lower, LBound upper) const |
template<TypeKind ElementTypeKind> | |
bool | check_seqmem_in_sequence_and_array (DDS::MemberId id, CORBA::ULong bound, TypeKind enum_or_bitmask, LBound lower, LBound upper) const |
template<TypeKind ElementTypeKind, typename SequenceType > | |
bool | set_values_to_struct (DDS::MemberId id, const SequenceType &value, TypeKind enum_or_bitmask, LBound lower, LBound upper) |
template<TypeKind ElementTypeKind, typename SequenceType > | |
bool | set_values_to_union (DDS::MemberId id, const SequenceType &value, TypeKind enum_or_bitmask, LBound lower, LBound upper) |
template<TypeKind ElementTypeKind, typename SequenceType > | |
bool | set_values_to_sequence (DDS::MemberId id, const SequenceType &value, TypeKind enum_or_bitmask, LBound lower, LBound upper) |
template<TypeKind ElementTypeKind, typename SequenceType > | |
bool | set_values_to_array (DDS::MemberId id, const SequenceType &value, TypeKind enum_or_bitmask, LBound lower, LBound upper) |
template<TypeKind ElementTypeKind, typename SequenceType > | |
DDS::ReturnCode_t | set_sequence_values (DDS::MemberId id, const SequenceType &value, TypeKind enum_or_bitmask=TK_NONE, LBound lower=0, LBound upper=0) |
template<TypeKind ValueTypeKind, typename ValueType > | |
DDS::ReturnCode_t | get_single_value (ValueType &value, DDS::MemberId id) |
typedef | OPENDDS_VECTOR (CORBA::ULong) IndexToIdMap |
bool | move_single_to_complex (const DataContainer::const_single_iterator &it, DynamicDataImpl *data) |
bool | move_single_to_complex_i (const DataContainer::const_single_iterator &it, DynamicDataImpl *data, const TypeKind treat_as) |
template<typename SequenceType > | |
void | move_sequence_helper (const DataContainer::const_sequence_iterator &it, DynamicDataImpl *data) |
bool | move_sequence_to_complex (const DataContainer::const_sequence_iterator &it, DynamicDataImpl *data) |
bool | get_complex_from_aggregated (DDS::DynamicData_var &value, DDS::MemberId id, FoundStatus &found_status) |
bool | get_complex_from_struct (DDS::DynamicData_ptr &value, DDS::MemberId id) |
bool | write_discriminator_helper (CORBA::Long value, TypeKind treat_as) |
bool | write_discriminator (CORBA::Long value) |
bool | get_complex_from_union (DDS::DynamicData_ptr &value, DDS::MemberId id) |
bool | get_complex_from_collection (DDS::DynamicData_ptr &value, DDS::MemberId id) |
bool | read_discriminator (CORBA::Long &disc_val, const DDS::DynamicType_var &disc_type, DataContainer::const_single_iterator it) const |
bool | insert_valid_discriminator (DDS::MemberDescriptor *memberSelected) |
bool | insert_discriminator (ACE_CDR::Long value) |
void | clear_container () |
bool | serialized_size_i (const DCPS::Encoding &encoding, size_t &size, DCPS::Sample::Extent ext) const |
bool | serialize_i (DCPS::Serializer &ser, DCPS::Sample::Extent ext) const |
template<> | |
bool | get_value_from_enum (char *&, DDS::MemberId) |
template<> | |
bool | get_value_from_enum (CORBA::WChar *&, DDS::MemberId) |
template<> | |
bool | get_value_from_bitmask (char *&, DDS::MemberId) |
template<> | |
bool | get_value_from_bitmask (CORBA::WChar *&, DDS::MemberId) |
Static Private Member Functions | |
static bool | is_valid_discriminator_type (TypeKind tk) |
Private Attributes | |
DataContainer | container_ |
Friends | |
OpenDDS_Dcps_Export bool | DCPS::serialized_size (const DCPS::Encoding &encoding, size_t &size, const DynamicDataImpl &data) |
OpenDDS_Dcps_Export bool | DCPS::operator<< (DCPS::Serializer &ser, const DynamicDataImpl &data) |
OpenDDS_Dcps_Export bool | DCPS::serialized_size (const DCPS::Encoding &encoding, size_t &size, const DCPS::KeyOnly< const DynamicDataImpl > &data) |
OpenDDS_Dcps_Export bool | DCPS::operator<< (DCPS::Serializer &ser, const DCPS::KeyOnly< const DynamicDataImpl > &data) |
Definition at line 36 of file DynamicDataImpl.h.
|
private |
Enumerator | |
---|---|
FOUND_IN_COMPLEX_MAP | |
FOUND_IN_NON_COMPLEX_MAP | |
NOT_FOUND |
Definition at line 996 of file DynamicDataImpl.h.
|
explicit |
Definition at line 26 of file DynamicDataImpl.cpp.
Referenced by clear_value_i(), clone(), get_complex_from_aggregated(), get_complex_from_collection(), get_complex_from_union(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_complex_sequence_i(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_complex_aggregated_member_xcdr2_default(), and OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_complex_member().
OpenDDS::XTypes::DynamicDataImpl::DynamicDataImpl | ( | const DynamicDataImpl & | other | ) |
Definition at line 32 of file DynamicDataImpl.cpp.
|
private |
Definition at line 1363 of file DynamicDataImpl.cpp.
References ACE_OutputCDR::from_boolean::val_.
Referenced by cast_to_discriminator_value(), get_value_from_union(), and set_value_to_union().
|
private |
Definition at line 1370 of file DynamicDataImpl.cpp.
References ACE_OutputCDR::from_octet::val_.
|
private |
Definition at line 1377 of file DynamicDataImpl.cpp.
References cast_to_discriminator_value(), ACE_OutputCDR::from_wchar::val_, and ACE_OutputCDR::from_char::val_.
|
private |
Definition at line 1393 of file DynamicDataImpl.cpp.
References ACE_OutputCDR::from_int8::val_.
|
private |
Definition at line 1400 of file DynamicDataImpl.cpp.
References ACE_OutputCDR::from_uint8::val_.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 1450 of file DynamicDataImpl.cpp.
|
private |
|
private |
Definition at line 2957 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2962 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2968 of file DynamicDataImpl.cpp.
|
private |
Definition at line 1632 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRING16, and OpenDDS::XTypes::TK_STRING8.
Referenced by check_seqmem_in_sequence_and_array(), set_boolean_value(), set_char_common(), and validate_member_id_collection().
|
private |
Definition at line 2365 of file DynamicDataImpl.cpp.
References check_index_from_id(), OpenDDS::XTypes::get_base_type(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_SEQUENCE, and OpenDDS::XTypes::DynamicDataBase::type_.
|
private |
Definition at line 2282 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::get_base_type(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_SEQUENCE, and OpenDDS::XTypes::DynamicDataBase::type_.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::clear_all_values | ( | ) |
Implements DDS::DynamicData.
Definition at line 328 of file DynamicDataImpl.cpp.
References ACE_ERROR, clear_container(), clear_value_i(), OpenDDS::XTypes::DynamicDataBase::is_primitive(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::TK_ALIAS, OpenDDS::XTypes::TK_ANNOTATION, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_BITSET, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRING16, OpenDDS::XTypes::TK_STRING8, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, and OpenDDS::XTypes::typekind_to_string().
|
private |
Definition at line 361 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DynamicDataImpl::DataContainer::clear(), and container_.
Referenced by clear_all_values(), set_complex_to_union(), set_value_to_union(), and set_values_to_union().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::clear_nonkey_values | ( | ) |
Implements DDS::DynamicData.
Definition at line 368 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::clear_value | ( | DDS::MemberId | id | ) |
Definition at line 373 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::DynamicDataBase::bound_total(), clear_value_i(), container_, erase_member(), OpenDDS::XTypes::get_base_type(), get_sequence_size(), OpenDDS::XTypes::DynamicDataBase::is_primitive(), LM_WARNING, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, DDS::RETCODE_BAD_PARAMETER, DDS::RETCODE_ERROR, DDS::RETCODE_OK, set_boolean_value(), OpenDDS::XTypes::TK_ALIAS, OpenDDS::XTypes::TK_ANNOTATION, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_BITSET, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRING16, OpenDDS::XTypes::TK_STRING8, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::typekind_to_string(), and OpenDDS::DCPS::LogLevel::Warning.
|
private |
Definition at line 466 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::bitmask_bound(), container_, DynamicDataImpl(), OpenDDS::XTypes::enum_bound(), insert_complex(), insert_single(), LM_WARNING, OpenDDS::DCPS::log_level, DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_basic_value(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_bitmask_value(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_enum_value(), OpenDDS::XTypes::TK_ALIAS, OpenDDS::XTypes::TK_ANNOTATION, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_BITSET, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_FLOAT128, OpenDDS::XTypes::TK_FLOAT32, OpenDDS::XTypes::TK_FLOAT64, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRING16, OpenDDS::XTypes::TK_STRING8, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, OpenDDS::XTypes::TK_UINT8, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::typekind_to_string(), value, and OpenDDS::DCPS::LogLevel::Warning.
Referenced by clear_all_values(), clear_value(), get_complex_from_union(), and get_value_from_union().
DDS::DynamicData_ptr OpenDDS::XTypes::DynamicDataImpl::clone | ( | void | ) |
Implements DDS::DynamicData.
Definition at line 653 of file DynamicDataImpl.cpp.
References DynamicDataImpl().
CORBA::Boolean OpenDDS::XTypes::DynamicDataImpl::equals | ( | DDS::DynamicData_ptr | other | ) |
Definition at line 51 of file DynamicDataImpl.cpp.
References ACE_ERROR, and LM_ERROR.
Referenced by set_complex_to_union().
|
private |
Definition at line 208 of file DynamicDataImpl.cpp.
References container_.
Referenced by clear_value().
|
private |
Definition at line 1310 of file DynamicDataImpl.cpp.
References container_, OpenDDS::XTypes::DISCRIMINATOR_ID, OpenDDS::XTypes::MEMBER_ID_INVALID, and OPENDDS_ASSERT.
Referenced by set_complex_to_union(), and set_value_to_union().
|
private |
Definition at line 3227 of file DynamicDataImpl.cpp.
References read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_boolean_value | ( | CORBA::Boolean & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3248 of file DynamicDataImpl.cpp.
References ACE_ERROR, container_, OpenDDS::XTypes::DynamicDataBase::get_index_from_id(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_basic_value(), OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::typekind_to_string(), ACE_OutputCDR::from_boolean::val_, and value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_boolean_values | ( | DDS::BooleanSeq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 4012 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_byte_value | ( | CORBA::Octet & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3216 of file DynamicDataImpl.cpp.
References DDS::RETCODE_OK.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_byte_values | ( | DDS::ByteSeq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 4005 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_char16_value | ( | CORBA::WChar & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3207 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED, and value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_char16_values | ( | DDS::WcharSeq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3998 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_char8_value | ( | CORBA::Char & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3202 of file DynamicDataImpl.cpp.
References value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_char8_values | ( | DDS::CharSeq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3991 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
|
private |
Definition at line 3128 of file DynamicDataImpl.cpp.
References ACE_ERROR, container_, LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::DCPS::LogLevel::Notice, read_basic_member(), DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_basic_value(), OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, and OpenDDS::XTypes::typekind_to_string().
|
private |
Definition at line 3658 of file DynamicDataImpl.cpp.
References container_, DynamicDataImpl(), FOUND_IN_COMPLEX_MAP, FOUND_IN_NON_COMPLEX_MAP, OpenDDS::XTypes::get_base_type(), move_sequence_to_complex(), move_single_to_complex(), NOT_FOUND, DDS::RETCODE_OK, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by get_complex_from_struct(), and get_complex_from_union().
|
private |
Definition at line 3840 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DynamicDataBase::bound_total(), container_, DynamicDataImpl(), insert_complex(), move_sequence_to_complex(), move_single_to_complex(), CORBA::release(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_ARRAY, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by get_complex_value().
|
private |
Definition at line 3701 of file DynamicDataImpl.cpp.
References FOUND_IN_NON_COMPLEX_MAP, get_complex_from_aggregated(), insert_complex(), NOT_FOUND, and CORBA::release().
Referenced by get_complex_value().
|
private |
Definition at line 3763 of file DynamicDataImpl.cpp.
References ACE_ERROR, clear_value_i(), container_, OpenDDS::XTypes::DISCRIMINATOR_ID, DynamicDataImpl(), FOUND_IN_NON_COMPLEX_MAP, OpenDDS::XTypes::get_base_type(), get_complex_from_aggregated(), insert_complex(), insert_valid_discriminator(), LM_NOTICE, OpenDDS::DCPS::log_level, NOT_FOUND, OpenDDS::DCPS::LogLevel::Notice, CORBA::release(), DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataImpl::DataContainer::select_union_member(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_discriminator_value(), OpenDDS::XTypes::DynamicDataBase::type_, and write_discriminator().
Referenced by get_complex_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_complex_value | ( | DDS::DynamicData_ptr & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3879 of file DynamicDataImpl.cpp.
References ACE_ERROR, get_complex_from_collection(), get_complex_from_struct(), get_complex_from_union(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, and OpenDDS::XTypes::typekind_to_string().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_float128_value | ( | CORBA::LongDouble & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3122 of file DynamicDataImpl.cpp.
References value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_float128_values | ( | DDS::Float128Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3984 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_float32_value | ( | CORBA::Float & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3112 of file DynamicDataImpl.cpp.
References value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_float32_values | ( | DDS::Float32Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3970 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_float64_value | ( | CORBA::Double & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3117 of file DynamicDataImpl.cpp.
References value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_float64_values | ( | DDS::Float64Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3977 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_int16_value | ( | CORBA::Short & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3082 of file DynamicDataImpl.cpp.
References value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_int16_values | ( | DDS::Int16Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3942 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_int32_value | ( | CORBA::Long & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3092 of file DynamicDataImpl.cpp.
References value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_int32_values | ( | DDS::Int32Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3914 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_int64_value | ( | CORBA::LongLong & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3102 of file DynamicDataImpl.cpp.
References value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_int64_values | ( | DDS::Int64Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3956 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_int8_value | ( | CORBA::Int8 & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3062 of file DynamicDataImpl.cpp.
References DDS::RETCODE_OK.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_int8_values | ( | DDS::Int8Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3928 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
ACE_CDR::ULong OpenDDS::XTypes::DynamicDataImpl::get_item_count | ( | ) |
Implements DDS::DynamicData.
Definition at line 217 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::DynamicDataBase::bound_total(), container_, OpenDDS::XTypes::get_base_type(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::get_largest_index_basic(), get_sequence_size(), LM_WARNING, OpenDDS::DCPS::log_level, DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataImpl::DataContainer::select_union_member(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_discriminator_value(), OpenDDS::XTypes::TK_ALIAS, OpenDDS::XTypes::TK_ANNOTATION, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_BITSET, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_FLOAT128, OpenDDS::XTypes::TK_FLOAT32, OpenDDS::XTypes::TK_FLOAT64, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRING16, OpenDDS::XTypes::TK_STRING8, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, OpenDDS::XTypes::TK_UINT8, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::typekind_to_string(), and OpenDDS::DCPS::LogLevel::Warning.
Referenced by get_member_id_at_index().
DDS::MemberId OpenDDS::XTypes::DynamicDataImpl::get_member_id_at_index | ( | ACE_CDR::ULong | index | ) |
Definition at line 58 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::DynamicDataBase::bound_total(), container_, OpenDDS::XTypes::DISCRIMINATOR_ID, get_item_count(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_OK, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_FLOAT128, OpenDDS::XTypes::TK_FLOAT32, OpenDDS::XTypes::TK_FLOAT64, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRING16, OpenDDS::XTypes::TK_STRING8, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, OpenDDS::XTypes::TK_UINT8, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, and OpenDDS::XTypes::typekind_to_string().
|
private |
Definition at line 179 of file DynamicDataImpl.cpp.
References container_, OpenDDS::XTypes::DynamicDataImpl::DataContainer::get_largest_index_basic(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::get_largest_sequence_index(), OpenDDS::XTypes::TK_SEQUENCE, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by clear_value(), and get_item_count().
|
virtual |
Implements OpenDDS::XTypes::DynamicDataBase.
Definition at line 2064 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::get_base_type(), get_simple_value_boolean(), get_simple_value_char(), get_simple_value_enum(), get_simple_value_string(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_FLOAT128, OpenDDS::XTypes::TK_FLOAT64, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_STRING8, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::typekind_to_string(), and value.
|
private |
Definition at line 1943 of file DynamicDataImpl.cpp.
References container_, OpenDDS::DCPS::Value::get(), OpenDDS::XTypes::MEMBER_ID_INVALID, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
Referenced by get_simple_value().
|
private |
Definition at line 1967 of file DynamicDataImpl.cpp.
References container_, OpenDDS::DCPS::Value::get(), OpenDDS::XTypes::MEMBER_ID_INVALID, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
Referenced by get_simple_value().
|
private |
Definition at line 2039 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::get_enum_value(), OpenDDS::XTypes::get_enumerator_name(), OpenDDS::XTypes::get_member_type(), OpenDDS::XTypes::DynamicDataBase::interface_from_this(), DDS::RETCODE_OK, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by get_simple_value().
|
private |
Definition at line 1992 of file DynamicDataImpl.cpp.
References container_, OpenDDS::DCPS::Value::get(), OpenDDS::XTypes::MEMBER_ID_INVALID, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
|
private |
Definition at line 2016 of file DynamicDataImpl.cpp.
References container_, OpenDDS::DCPS::Value::get(), read_basic_value(), DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
Referenced by get_simple_value().
|
private |
Definition at line 3014 of file DynamicDataImpl.cpp.
References ACE_ERROR, get_value_from_self(), OpenDDS::XTypes::DynamicDataBase::is_type_supported(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::typekind_to_string(), and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_string_value | ( | char *& | value, |
DDS::MemberId | id | ||
) |
Definition at line 3337 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DynamicDataBase::enum_string_helper(), DDS::RETCODE_OK, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_string_values | ( | DDS::StringSeq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 4019 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_uint16_value | ( | CORBA::UShort & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3087 of file DynamicDataImpl.cpp.
References value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_uint16_values | ( | DDS::UInt16Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3949 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_uint32_value | ( | CORBA::ULong & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3097 of file DynamicDataImpl.cpp.
References value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_uint32_values | ( | DDS::UInt32Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3921 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_uint64_value | ( | CORBA::ULongLong & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3107 of file DynamicDataImpl.cpp.
References value.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_uint64_values | ( | DDS::UInt64Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3963 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_uint8_value | ( | CORBA::UInt8 & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3072 of file DynamicDataImpl.cpp.
References DDS::RETCODE_OK.
Referenced by read_basic_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_uint8_values | ( | DDS::UInt8Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3935 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
|
private |
Definition at line 2829 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::bitmask_bound(), container_, OpenDDS::XTypes::MEMBER_ID_INVALID, DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_bitmask_value(), and OpenDDS::XTypes::DynamicDataBase::type_.
|
private |
Definition at line 2847 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2852 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2972 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::bitmask_bound(), OpenDDS::XTypes::DynamicDataBase::bound_total(), container_, OpenDDS::XTypes::enum_bound(), OpenDDS::XTypes::get_base_type(), insert_single(), read_basic_member(), DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_basic_value(), OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_ENUM, and OpenDDS::XTypes::DynamicDataBase::type_.
|
private |
Definition at line 2797 of file DynamicDataImpl.cpp.
References cast_to_enum_value(), container_, OpenDDS::XTypes::enum_bound(), OpenDDS::XTypes::MEMBER_ID_INVALID, DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_enum_value(), and OpenDDS::XTypes::DynamicDataBase::type_.
|
private |
Definition at line 2818 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2823 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2767 of file DynamicDataImpl.cpp.
References container_, OpenDDS::XTypes::DynamicDataBase::is_primitive(), OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_basic_value(), and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by get_single_value().
bool OpenDDS::XTypes::DynamicDataImpl::get_value_from_self | ( | char *& | , |
DDS::MemberId | |||
) |
Definition at line 2783 of file DynamicDataImpl.cpp.
bool OpenDDS::XTypes::DynamicDataImpl::get_value_from_self | ( | CORBA::WChar *& | , |
DDS::MemberId | |||
) |
Definition at line 2790 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2858 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::DynamicDataBase::check_member(), container_, LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, read_basic_member(), DDS::RETCODE_OK, and OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_basic_value().
|
private |
Definition at line 2884 of file DynamicDataImpl.cpp.
References ACE_ERROR, cast_to_discriminator_value(), OpenDDS::XTypes::DynamicDataBase::check_member(), clear_value_i(), container_, OpenDDS::XTypes::DISCRIMINATOR_ID, OpenDDS::XTypes::get_base_type(), insert_single(), insert_valid_discriminator(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, OPENDDS_ASSERT, read_basic_in_single_map(), read_basic_member(), DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataImpl::DataContainer::select_union_member(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_basic_value(), and OpenDDS::XTypes::DynamicDataBase::type_.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_wstring_value | ( | CORBA::WChar *& | value, |
DDS::MemberId | id | ||
) |
Definition at line 3346 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_wstring_values | ( | DDS::WstringSeq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 4026 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
|
private |
Definition at line 719 of file DynamicDataImpl.cpp.
References container_.
Referenced by clear_value_i(), get_complex_from_collection(), get_complex_from_struct(), get_complex_from_union(), set_complex_to_collection(), set_complex_to_struct(), and set_complex_to_union().
|
private |
Definition at line 1587 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DISCRIMINATOR_ID, OpenDDS::XTypes::get_base_type(), insert_single(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_NONE, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, OpenDDS::XTypes::TK_UINT8, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by insert_valid_discriminator().
|
private |
Definition at line 2273 of file DynamicDataImpl.cpp.
References container_.
Referenced by set_values_to_array(), set_values_to_sequence(), set_values_to_struct(), and set_values_to_union().
|
private |
Definition at line 658 of file DynamicDataImpl.cpp.
References container_.
Referenced by clear_value_i(), get_value_from_collection(), get_value_from_union(), insert_discriminator(), insert_single(), move_sequence_helper(), move_single_to_complex_i(), set_boolean_value(), set_char_common(), set_single_value(), set_value_to_collection(), set_value_to_struct(), set_value_to_union(), and write_discriminator_helper().
|
private |
Definition at line 668 of file DynamicDataImpl.cpp.
References container_.
|
private |
Definition at line 676 of file DynamicDataImpl.cpp.
References container_.
|
private |
Definition at line 684 of file DynamicDataImpl.cpp.
References container_.
|
private |
Definition at line 692 of file DynamicDataImpl.cpp.
References container_, insert_single(), and value.
|
private |
Definition at line 711 of file DynamicDataImpl.cpp.
References container_.
|
private |
Definition at line 1558 of file DynamicDataImpl.cpp.
References OpenDDS::DCPS::DisjointSequence::OrderedRanges< T >::add(), OpenDDS::DCPS::DisjointSequence::OrderedRanges< T >::begin(), OpenDDS::XTypes::DISCRIMINATOR_ID, OpenDDS::DCPS::DisjointSequence::OrderedRanges< T >::empty(), DDS::MemberDescriptor::id, insert_discriminator(), DDS::MemberDescriptor::is_default_label, DDS::MemberDescriptor::label, OpenDDS::XTypes::Sequence< T >::length(), DDS::RETCODE_OK, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by get_complex_from_union(), get_value_from_union(), set_complex_to_union(), set_value_to_union(), and set_values_to_union().
|
private |
Definition at line 769 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DynamicTypeMembersByIdImpl::begin(), OpenDDS::XTypes::DynamicTypeMembersByIdImpl::end(), OpenDDS::XTypes::Sequence< T >::length(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_UNION, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by validate_discriminator().
|
staticprivate |
Definition at line 744 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, and OpenDDS::XTypes::TK_UINT8.
Referenced by read_discriminator(), and set_value_to_union().
DDS::DynamicData_ptr OpenDDS::XTypes::DynamicDataImpl::loan_value | ( | DDS::MemberId | id | ) |
|
private |
Definition at line 3475 of file DynamicDataImpl.cpp.
References insert_single().
|
private |
Definition at line 3569 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::get_base_type(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_FLOAT128, OpenDDS::XTypes::TK_FLOAT32, OpenDDS::XTypes::TK_FLOAT64, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_STRING16, OpenDDS::XTypes::TK_STRING8, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, OpenDDS::XTypes::TK_UINT8, and type().
Referenced by get_complex_from_aggregated(), and get_complex_from_collection().
|
private |
Definition at line 3355 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::enum_bound(), move_single_to_complex_i(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_ENUM, and type().
Referenced by get_complex_from_aggregated(), and get_complex_from_collection().
|
private |
Definition at line 3369 of file DynamicDataImpl.cpp.
References insert_single(), OpenDDS::XTypes::MEMBER_ID_INVALID, ACE_OS::strlen(), OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_FLOAT128, OpenDDS::XTypes::TK_FLOAT32, OpenDDS::XTypes::TK_FLOAT64, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_STRING16, OpenDDS::XTypes::TK_STRING8, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, and OpenDDS::XTypes::TK_UINT8.
Referenced by move_single_to_complex().
|
private |
|
private |
Definition at line 2738 of file DynamicDataImpl.cpp.
References container_, and read_basic_value().
Referenced by read_basic_member().
|
private |
Read a basic member from a containing type.
Definition at line 2703 of file DynamicDataImpl.cpp.
References container_.
Referenced by get_value_from_union(), and read_basic_member().
bool OpenDDS::XTypes::DynamicDataImpl::read_basic_in_single_map | ( | char *& | value, |
DDS::MemberId | id | ||
) |
Definition at line 2714 of file DynamicDataImpl.cpp.
References container_, and CORBA::string_free().
bool OpenDDS::XTypes::DynamicDataImpl::read_basic_in_single_map | ( | CORBA::WChar *& | value, |
DDS::MemberId | id | ||
) |
Definition at line 2726 of file DynamicDataImpl.cpp.
References container_, and CORBA::wstring_free().
|
private |
Definition at line 2749 of file DynamicDataImpl.cpp.
References read_basic_in_complex_map(), and read_basic_in_single_map().
Referenced by get_char_common(), get_value_from_collection(), get_value_from_struct(), and get_value_from_union().
bool OpenDDS::XTypes::DynamicDataImpl::read_basic_member | ( | char *& | value, |
DDS::MemberId | id | ||
) |
Definition at line 2755 of file DynamicDataImpl.cpp.
References read_basic_in_complex_map(), and read_basic_in_single_map().
bool OpenDDS::XTypes::DynamicDataImpl::read_basic_member | ( | CORBA::WChar *& | value, |
DDS::MemberId | id | ||
) |
Definition at line 2761 of file DynamicDataImpl.cpp.
References read_basic_in_complex_map(), and read_basic_in_single_map().
|
private |
Group of functions to read a basic value represented by this DynamicData instance.
Definition at line 2577 of file DynamicDataImpl.cpp.
References get_int8_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, DDS::RETCODE_OK, and ACE_OutputCDR::from_int8::val_.
Referenced by OpenDDS::XTypes::DynamicDataImpl::get_boolean_from_bitmask< CORBA::UInt8 >(), get_boolean_from_bitmask(), get_simple_value_string(), read_basic_in_complex_map(), and read_basic_value().
|
private |
Definition at line 2582 of file DynamicDataImpl.cpp.
References get_uint8_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, DDS::RETCODE_OK, and ACE_OutputCDR::from_uint8::val_.
|
private |
Definition at line 2587 of file DynamicDataImpl.cpp.
References get_int16_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2592 of file DynamicDataImpl.cpp.
References get_uint16_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2597 of file DynamicDataImpl.cpp.
References get_int32_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2602 of file DynamicDataImpl.cpp.
References get_uint32_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2607 of file DynamicDataImpl.cpp.
References get_int64_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2612 of file DynamicDataImpl.cpp.
References get_uint64_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2617 of file DynamicDataImpl.cpp.
References get_float32_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2622 of file DynamicDataImpl.cpp.
References get_float64_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2627 of file DynamicDataImpl.cpp.
References get_float128_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2632 of file DynamicDataImpl.cpp.
References get_char16_value(), get_char8_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, read_basic_value(), DDS::RETCODE_OK, ACE_OutputCDR::from_wchar::val_, and ACE_OutputCDR::from_char::val_.
|
private |
|
private |
Definition at line 2644 of file DynamicDataImpl.cpp.
References get_byte_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, DDS::RETCODE_OK, and ACE_OutputCDR::from_octet::val_.
|
private |
Definition at line 2649 of file DynamicDataImpl.cpp.
References get_boolean_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, DDS::RETCODE_OK, and ACE_OutputCDR::from_boolean::val_.
|
private |
Definition at line 2654 of file DynamicDataImpl.cpp.
References TAO::String_var< charT >::_retn(), container_, OpenDDS::XTypes::DynamicDataImpl::DataContainer::get_largest_index_basic(), TAO::String_var< charT >::inout(), ACE_OS::memset(), read_basic_value(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::reconstruct_string_value(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::reconstruct_wstring_value(), CORBA::string_alloc(), CORBA::string_dup(), CORBA::string_free(), CORBA::wstring_alloc(), CORBA::wstring_dup(), and CORBA::wstring_free().
|
private |
Definition at line 1296 of file DynamicDataImpl.cpp.
References container_, is_valid_discriminator_type(), OpenDDS::XTypes::MEMBER_ID_INVALID, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by set_complex_to_union().
|
private |
Definition at line 1209 of file DynamicDataImpl.cpp.
References DDS::RETCODE_OK, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, OpenDDS::XTypes::TK_UINT8, ACE_OutputCDR::from_char::val_, ACE_OutputCDR::from_wchar::val_, ACE_OutputCDR::from_uint8::val_, ACE_OutputCDR::from_boolean::val_, ACE_OutputCDR::from_int8::val_, ACE_OutputCDR::from_octet::val_, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::return_loaned_value | ( | DDS::DynamicData_ptr | value | ) |
Definition at line 647 of file DynamicDataImpl.cpp.
References ACE_ERROR, LM_ERROR, and DDS::RETCODE_UNSUPPORTED.
|
private |
Definition at line 8699 of file DynamicDataImpl.cpp.
References ACE_ERROR, container_, LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_array(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_bitmask_value(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_enum_value(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_primitive_value(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_sequence(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_string_value(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_structure(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_union(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_wstring_value(), OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_FLOAT128, OpenDDS::XTypes::TK_FLOAT32, OpenDDS::XTypes::TK_FLOAT64, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRING16, OpenDDS::XTypes::TK_STRING8, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, OpenDDS::XTypes::TK_UINT8, OpenDDS::XTypes::TK_UNION, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by OpenDDS::DCPS::operator<<(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_complex_aggregated_member_xcdr2(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_complex_aggregated_member_xcdr2_default(), and OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_complex_member_i().
|
private |
Definition at line 8631 of file DynamicDataImpl.cpp.
References ACE_ERROR, container_, LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, OpenDDS::DCPS::primitive_serialized_size(), OpenDDS::DCPS::primitive_serialized_size_boolean(), OpenDDS::DCPS::primitive_serialized_size_char(), OpenDDS::DCPS::primitive_serialized_size_octet(), OpenDDS::DCPS::primitive_serialized_size_wchar(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_array(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_bitmask(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_enum(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_sequence(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_string(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_structure(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_union(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_wstring(), OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::TK_FLOAT128, OpenDDS::XTypes::TK_FLOAT32, OpenDDS::XTypes::TK_FLOAT64, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRING16, OpenDDS::XTypes::TK_STRING8, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, OpenDDS::XTypes::TK_UINT8, OpenDDS::XTypes::TK_UNION, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_complex_aggregated_member_xcdr2(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_complex_aggregated_member_xcdr2_default(), OpenDDS::DCPS::serialized_size(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_complex_aggregated_member_xcdr2(), and OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialized_size_complex_member_i().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_boolean_value | ( | DDS::MemberId | id, |
CORBA::Boolean | value | ||
) |
Definition at line 1868 of file DynamicDataImpl.cpp.
References ACE_ERROR, check_index_from_id(), insert_single(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_BITMASK, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, and OpenDDS::XTypes::typekind_to_string().
Referenced by clear_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_boolean_values | ( | DDS::MemberId | id, |
const DDS::BooleanSeq & | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_byte_value | ( | DDS::MemberId | id, |
CORBA::Octet | value | ||
) |
Definition at line 1863 of file DynamicDataImpl.cpp.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_byte_values | ( | DDS::MemberId | id, |
const DDS::ByteSeq & | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_char16_value | ( | DDS::MemberId | id, |
CORBA::WChar | value | ||
) |
Definition at line 1854 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_char16_values | ( | DDS::MemberId | id, |
const DDS::WcharSeq & | value | ||
) |
Definition at line 2544 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_char8_value | ( | DDS::MemberId | id, |
CORBA::Char | value | ||
) |
Definition at line 1849 of file DynamicDataImpl.cpp.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_char8_values | ( | DDS::MemberId | id, |
const DDS::CharSeq & | value | ||
) |
|
private |
Definition at line 1803 of file DynamicDataImpl.cpp.
References ACE_ERROR, check_index_from_id(), insert_single(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::typekind_to_string(), and value.
|
private |
Definition at line 2220 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::get_base_type(), insert_complex(), DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataBase::type_, and validate_member_id_collection().
Referenced by set_complex_value().
|
private |
Definition at line 2108 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::get_base_type(), insert_complex(), DDS::RETCODE_OK, and OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by set_complex_value().
|
private |
Definition at line 2127 of file DynamicDataImpl.cpp.
References ACE_ERROR, clear_container(), OpenDDS::XTypes::DISCRIMINATOR_ID, OpenDDS::XTypes::DynamicDataBase::discriminator_selects_no_member(), equals(), find_selected_member(), OpenDDS::XTypes::get_base_type(), insert_complex(), insert_valid_discriminator(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::DCPS::LogLevel::Notice, read_discriminator(), DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataBase::type_, and validate_discriminator().
Referenced by set_complex_value().
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_complex_value | ( | DDS::MemberId | id, |
DDS::DynamicData_ptr | value | ||
) |
Definition at line 2237 of file DynamicDataImpl.cpp.
References ACE_ERROR, LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, set_complex_to_collection(), set_complex_to_struct(), set_complex_to_union(), OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, and OpenDDS::XTypes::DynamicDataBase::type_.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_descriptor | ( | MemberId | id, |
DDS::MemberDescriptor * | value | ||
) |
Definition at line 46 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_float128_value | ( | DDS::MemberId | id, |
CORBA::LongDouble | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_float128_values | ( | DDS::MemberId | id, |
const DDS::Float128Seq & | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_float32_value | ( | DDS::MemberId | id, |
CORBA::Float | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_float32_values | ( | DDS::MemberId | id, |
const DDS::Float32Seq & | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_float64_value | ( | DDS::MemberId | id, |
CORBA::Double | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_float64_values | ( | DDS::MemberId | id, |
const DDS::Float64Seq & | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_int16_value | ( | DDS::MemberId | id, |
CORBA::Short | value | ||
) |
Definition at line 1767 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_ENUM, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_int16_values | ( | DDS::MemberId | id, |
const DDS::Int16Seq & | value | ||
) |
Definition at line 2504 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_ENUM, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_int32_value | ( | DDS::MemberId | id, |
CORBA::Long | value | ||
) |
Definition at line 1747 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_ENUM, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_int32_values | ( | DDS::MemberId | id, |
const DDS::Int32Seq & | value | ||
) |
Definition at line 2484 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_ENUM, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_int64_value | ( | DDS::MemberId | id, |
CORBA::LongLong | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_int64_values | ( | DDS::MemberId | id, |
const DDS::Int64Seq & | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_int8_value | ( | DDS::MemberId | id, |
CORBA::Int8 | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_int8_values | ( | DDS::MemberId | id, |
const DDS::Int8Seq & | value | ||
) |
Definition at line 2494 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_ENUM, and value.
|
private |
Definition at line 2438 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::DynamicDataBase::is_type_supported(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::typekind_to_string(), and value.
|
private |
Definition at line 1693 of file DynamicDataImpl.cpp.
References ACE_ERROR, insert_single(), OpenDDS::XTypes::DynamicDataBase::is_primitive(), OpenDDS::XTypes::DynamicDataBase::is_type_supported(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::TK_STRUCTURE, OpenDDS::XTypes::TK_UNION, OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::typekind_to_string(), and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_string_value | ( | DDS::MemberId | id, |
const char * | value | ||
) |
Definition at line 1915 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::get_enumerator_value(), OpenDDS::XTypes::get_member_type(), DDS::RETCODE_OK, OpenDDS::XTypes::set_enum_value(), OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::DynamicDataBase::type_, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_string_values | ( | DDS::MemberId | id, |
const DDS::StringSeq & | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_uint16_value | ( | DDS::MemberId | id, |
CORBA::UShort | value | ||
) |
Definition at line 1772 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_BITMASK, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_uint16_values | ( | DDS::MemberId | id, |
const DDS::UInt16Seq & | value | ||
) |
Definition at line 2509 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_BITMASK, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_uint32_value | ( | DDS::MemberId | id, |
CORBA::ULong | value | ||
) |
Definition at line 1752 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_BITMASK, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_uint32_values | ( | DDS::MemberId | id, |
const DDS::UInt32Seq & | value | ||
) |
Definition at line 2489 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_BITMASK, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_uint64_value | ( | DDS::MemberId | id, |
CORBA::ULongLong | value | ||
) |
Definition at line 1782 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_BITMASK, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_uint64_values | ( | DDS::MemberId | id, |
const DDS::UInt64Seq & | value | ||
) |
Definition at line 2519 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_BITMASK, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_uint8_value | ( | DDS::MemberId | id, |
CORBA::UInt8 | value | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_uint8_values | ( | DDS::MemberId | id, |
const DDS::UInt8Seq & | value | ||
) |
Definition at line 2499 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_BITMASK, and value.
|
private |
Definition at line 1656 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::get_base_type(), insert_single(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::typekind_to_string(), and validate_member_id_collection().
|
private |
Definition at line 732 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DynamicDataBase::check_member(), insert_single(), and DDS::RETCODE_OK.
|
private |
Definition at line 1457 of file DynamicDataImpl.cpp.
References ACE_ERROR, cast_to_discriminator_value(), clear_container(), OpenDDS::XTypes::DISCRIMINATOR_ID, OpenDDS::XTypes::DynamicDataBase::discriminator_selects_no_member(), find_selected_member(), OpenDDS::XTypes::get_base_type(), insert_single(), insert_valid_discriminator(), is_valid_discriminator_type(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_OK, OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::typekind_to_string(), and validate_discriminator().
|
private |
Definition at line 2422 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DynamicDataBase::bound_total(), insert_sequence(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::DynamicDataBase::type_, and validate_member_id_collection().
|
private |
Definition at line 2406 of file DynamicDataImpl.cpp.
References insert_sequence(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::DynamicDataBase::type_, and validate_member_id_collection().
|
private |
Definition at line 2325 of file DynamicDataImpl.cpp.
References insert_sequence().
|
private |
Definition at line 2334 of file DynamicDataImpl.cpp.
References ACE_ERROR, clear_container(), OpenDDS::XTypes::DISCRIMINATOR_ID, insert_sequence(), insert_valid_discriminator(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_OK, and OpenDDS::XTypes::DynamicDataBase::type_.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_wstring_value | ( | DDS::MemberId | id, |
const CORBA::WChar * | value | ||
) |
Definition at line 1933 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED, and value.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_wstring_values | ( | DDS::MemberId | id, |
const DDS::WstringSeq & | value | ||
) |
Definition at line 2568 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED, and value.
DDS::DynamicType_ptr OpenDDS::XTypes::DynamicDataImpl::type | ( | void | ) |
Definition at line 41 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DynamicDataBase::type_.
Referenced by move_sequence_to_complex(), and move_single_to_complex().
|
private |
Definition at line 1340 of file DynamicDataImpl.cpp.
References is_default_member_selected(), and OpenDDS::XTypes::Sequence< T >::length().
Referenced by set_complex_to_union(), and set_value_to_union().
|
private |
Definition at line 2194 of file DynamicDataImpl.cpp.
References ACE_ERROR, check_index_from_id(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_MAP, and OpenDDS::XTypes::TK_SEQUENCE.
Referenced by set_complex_to_collection(), set_value_to_collection(), set_values_to_array(), and set_values_to_sequence().
|
private |
Definition at line 3752 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::enum_bound(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_ENUM, OpenDDS::XTypes::DynamicDataBase::type_, and write_discriminator_helper().
Referenced by get_complex_from_union().
|
private |
Definition at line 3717 of file DynamicDataImpl.cpp.
References insert_single(), OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::XTypes::TK_BOOLEAN, OpenDDS::XTypes::TK_BYTE, OpenDDS::XTypes::TK_CHAR16, OpenDDS::XTypes::TK_CHAR8, OpenDDS::XTypes::TK_INT16, OpenDDS::XTypes::TK_INT32, OpenDDS::XTypes::TK_INT64, OpenDDS::XTypes::TK_INT8, OpenDDS::XTypes::TK_UINT16, OpenDDS::XTypes::TK_UINT32, OpenDDS::XTypes::TK_UINT64, and OpenDDS::XTypes::TK_UINT8.
Referenced by write_discriminator().
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 1014 of file DynamicDataImpl.h.
Referenced by clear_container(), clear_value(), clear_value_i(), erase_member(), find_selected_member(), get_boolean_value(), get_char_common(), get_complex_from_aggregated(), get_complex_from_collection(), get_complex_from_union(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::get_discriminator_value(), get_item_count(), get_member_id_at_index(), get_sequence_size(), get_simple_value_boolean(), get_simple_value_char(), get_simple_value_primitive(), get_simple_value_string(), get_value_from_bitmask(), get_value_from_collection(), get_value_from_enum(), get_value_from_self(), get_value_from_struct(), get_value_from_union(), insert_complex(), insert_sequence(), insert_single(), read_basic_in_complex_map(), read_basic_in_single_map(), read_basic_value(), read_discriminator(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::reconstruct_string_value(), serialize_i(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::serialize_string_value(), serialized_size_i(), and OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_primitive_values().