OpenDDS
Snapshot(2023/04/28-20:55)
|
#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) |
bool | set_complex_to_collection (DDS::MemberId id, DDS::DynamicData_var value, TypeKind tk) |
bool | validate_member_id_collection (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) |
Additional Inherited Members | |
![]() | |
typedef DDS::DynamicData ::_ptr_type | _ptr_type |
typedef DDS::DynamicData ::_var_type | _var_type |
![]() | |
typedef LocalObject_ptr | _ptr_type |
typedef LocalObject_var | _var_type |
typedef LocalObject_out | _out_type |
![]() | |
typedef Object_ptr | _ptr_type |
typedef Object_var | _var_type |
typedef Object_out | _out_type |
![]() | |
static bool | has_explicit_keys (DDS::DynamicType *dt) |
static bool | exclude_member (DCPS::Sample::Extent ext, bool is_key, bool has_explicit_keys) |
static DCPS::Sample::Extent | nested (DCPS::Sample::Extent ext) |
![]() | |
static _ptr_type | _narrow (CORBA::Object_ptr obj) |
![]() | |
static LocalObject_ptr | _duplicate (LocalObject_ptr obj) |
static LocalObject_ptr | _nil (void) |
static LocalObject_ptr | _narrow (CORBA::Object_ptr obj) |
![]() | |
static CORBA::Boolean | marshal (const Object_ptr x, TAO_OutputCDR &cdr) |
static void | _tao_any_destructor (void *) |
static CORBA::Boolean | is_nil_i (CORBA::Object_ptr obj) |
static void | tao_object_initialize (Object *) |
static CORBA::Object_ptr | _duplicate (CORBA::Object_ptr obj) |
static CORBA::Object_ptr | _nil (void) |
static CORBA::Object_ptr | _narrow (CORBA::Object_ptr obj) |
![]() | |
readonly attribute DynamicType | type |
![]() | |
bool | is_type_supported (TypeKind tk, const char *func_name) |
Verify that a given type is primitive or string or wstring. More... | |
bool | get_index_from_id (DDS::MemberId id, ACE_CDR::ULong &index, ACE_CDR::ULong bound) const |
bool | enum_string_helper (char *&strInOut, MemberId id) |
DDS::ReturnCode_t | check_member (DDS::MemberDescriptor_var &member_desc, DDS::DynamicType_var &member_type, const char *method, const char *action, DDS::MemberId id, DDS::TypeKind tk=TK_NONE) |
DDS::ReturnCode_t | check_member (DDS::DynamicType_var &member_type, const char *method, const char *action, DDS::MemberId id, DDS::TypeKind tk=TK_NONE) |
DDS::ReturnCode_t | get_selected_union_branch (DDS::Int32 disc, bool &found_selected_member, DDS::MemberDescriptor_var &selected_md) const |
DDS::ReturnCode_t | get_selected_union_branch (bool &found_selected_member, DDS::MemberDescriptor_var &selected_md) |
bool | discriminator_selects_no_member (DDS::Int32 disc) const |
DDS::DynamicData * | interface_from_this () const |
DDS::ReturnCode_t | unsupported_method (const char *method_name, bool warning=false) const |
![]() | |
LocalObject (void) | |
![]() | |
Object (int dummy=0) | |
TAO::Object_Proxy_Broker * | proxy_broker () const |
![]() | |
RcObject () | |
![]() | |
static DDS::MemberId | get_union_default_member (DDS::DynamicType *type) |
![]() | |
DDS::DynamicType_var | type_ |
The actual (i.e., non-alias) DynamicType of the associated type. More... | |
DDS::TypeDescriptor_var | type_desc_ |
![]() | |
ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > | refcount_ |
Definition at line 36 of file DynamicDataImpl.h.
|
private |
Enumerator | |
---|---|
FOUND_IN_COMPLEX_MAP | |
FOUND_IN_NON_COMPLEX_MAP | |
NOT_FOUND |
Definition at line 989 of file DynamicDataImpl.h.
|
explicit |
Definition at line 29 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 35 of file DynamicDataImpl.cpp.
|
private |
Definition at line 1320 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 1327 of file DynamicDataImpl.cpp.
References ACE_OutputCDR::from_octet::val_.
|
private |
Definition at line 1334 of file DynamicDataImpl.cpp.
References cast_to_discriminator_value(), ACE_OutputCDR::from_wchar::val_, and ACE_OutputCDR::from_char::val_.
|
private |
Definition at line 1350 of file DynamicDataImpl.cpp.
References ACE_OutputCDR::from_int8::val_.
|
private |
Definition at line 1357 of file DynamicDataImpl.cpp.
References ACE_OutputCDR::from_uint8::val_.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 1407 of file DynamicDataImpl.cpp.
|
private |
|
private |
Definition at line 2861 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2866 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2872 of file DynamicDataImpl.cpp.
|
private |
Definition at line 1584 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 2275 of file DynamicDataImpl.cpp.
References check_index_from_id(), OpenDDS::XTypes::get_base_type(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::DynamicDataBase::type_, and OpenDDS::XTypes::DynamicDataBase::type_desc_.
|
private |
Definition at line 2192 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 301 of file DynamicDataImpl.cpp.
References ACE_ERROR, clear_container(), clear_value_i(), OpenDDS::XTypes::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 334 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 341 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::clear_value | ( | DDS::MemberId | id | ) |
Definition at line 346 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::bound_total(), clear_value_i(), container_, erase_member(), OpenDDS::XTypes::get_base_type(), get_sequence_size(), OpenDDS::XTypes::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::DynamicDataBase::type_desc_, OpenDDS::XTypes::typekind_to_string(), and OpenDDS::DCPS::LogLevel::Warning.
|
private |
Definition at line 435 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 610 of file DynamicDataImpl.cpp.
References DynamicDataImpl().
|
private |
Definition at line 181 of file DynamicDataImpl.cpp.
References container_.
Referenced by clear_value().
|
private |
Definition at line 1267 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 3127 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 3148 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::DynamicDataBase::type_desc_, 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 3905 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 3116 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 3898 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 3107 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 3891 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 3102 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 3884 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
|
private |
Definition at line 3028 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 3553 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 3737 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::bound_total(), container_, DynamicDataImpl(), insert_complex(), move_sequence_to_complex(), move_single_to_complex(), CORBA::release(), OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::DynamicDataBase::type_, and OpenDDS::XTypes::DynamicDataBase::type_desc_.
Referenced by get_complex_value().
|
private |
Definition at line 3596 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 3658 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(), OpenDDS::XTypes::DynamicDataBase::get_selected_union_branch(), insert_complex(), insert_valid_discriminator(), LM_NOTICE, OpenDDS::DCPS::log_level, NOT_FOUND, OpenDDS::DCPS::LogLevel::Notice, CORBA::release(), DDS::RETCODE_OK, OpenDDS::DCPS::retcode_to_string(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::set_default_discriminator_value(), OpenDDS::XTypes::DynamicDataBase::type_, OpenDDS::XTypes::DynamicDataBase::type_desc_, 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 3772 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 3022 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 3877 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 3012 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 3863 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 3017 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 3870 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 2982 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 3835 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 2992 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 3807 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_int64_value_impl | ( | CORBA::LongLong & | value, |
DDS::MemberId | id | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_int64_values | ( | DDS::Int64Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3849 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 2962 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 3821 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
ACE_CDR::ULong OpenDDS::XTypes::DynamicDataImpl::get_item_count | ( | ) |
Implements DDS::DynamicData.
Definition at line 190 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::bound_total(), container_, OpenDDS::XTypes::get_base_type(), OpenDDS::XTypes::DynamicDataImpl::DataContainer::get_largest_index_basic(), OpenDDS::XTypes::DynamicDataBase::get_selected_union_branch(), get_sequence_size(), LM_WARNING, OpenDDS::DCPS::log_level, DDS::RETCODE_OK, OpenDDS::DCPS::retcode_to_string(), 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::DynamicDataBase::type_desc_, OpenDDS::XTypes::typekind_to_string(), and OpenDDS::DCPS::LogLevel::Warning.
DDS::MemberId OpenDDS::XTypes::DynamicDataImpl::get_member_id_at_index | ( | ACE_CDR::ULong | index | ) |
Definition at line 49 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::bound_total(), OpenDDS::XTypes::DISCRIMINATOR_ID, OpenDDS::XTypes::DynamicDataBase::get_selected_union_branch(), LM_NOTICE, LM_WARNING, OpenDDS::DCPS::log_level, OpenDDS::XTypes::MEMBER_ID_INVALID, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_OK, OpenDDS::DCPS::retcode_to_string(), 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_, OpenDDS::XTypes::DynamicDataBase::type_desc_, OpenDDS::XTypes::typekind_to_string(), and OpenDDS::DCPS::LogLevel::Warning.
|
private |
Definition at line 152 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 |
Reimplemented from OpenDDS::XTypes::DynamicDataBase.
Definition at line 1996 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 1875 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 1899 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 1971 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 1924 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 1948 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 2914 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 3232 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 3912 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 2987 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 3842 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 2997 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 3814 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_uint64_value_impl | ( | CORBA::ULongLong & | value, |
DDS::MemberId | id | ||
) |
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::get_uint64_values | ( | DDS::UInt64Seq & | value, |
DDS::MemberId | id | ||
) |
Definition at line 3856 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 2972 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 3828 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
|
private |
Definition at line 2727 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 2745 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2750 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2876 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::bitmask_bound(), OpenDDS::XTypes::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, OpenDDS::XTypes::DynamicDataBase::type_, and OpenDDS::XTypes::DynamicDataBase::type_desc_.
|
private |
Definition at line 2695 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 2716 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2721 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2665 of file DynamicDataImpl.cpp.
References container_, OpenDDS::XTypes::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 2681 of file DynamicDataImpl.cpp.
bool OpenDDS::XTypes::DynamicDataImpl::get_value_from_self | ( | CORBA::WChar *& | , |
DDS::MemberId | |||
) |
Definition at line 2688 of file DynamicDataImpl.cpp.
|
private |
Definition at line 2756 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 2782 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(), OpenDDS::XTypes::DynamicDataBase::get_selected_union_branch(), 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::DCPS::retcode_to_string(), 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 3241 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 3919 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED.
|
private |
Definition at line 676 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 1539 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 2183 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 615 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 625 of file DynamicDataImpl.cpp.
References container_.
|
private |
Definition at line 633 of file DynamicDataImpl.cpp.
References container_.
|
private |
Definition at line 641 of file DynamicDataImpl.cpp.
References container_.
|
private |
Definition at line 649 of file DynamicDataImpl.cpp.
References container_, insert_single(), and value.
|
private |
Definition at line 668 of file DynamicDataImpl.cpp.
References container_.
|
private |
Definition at line 1510 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 726 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 701 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().
|
private |
Definition at line 3370 of file DynamicDataImpl.cpp.
References insert_single().
|
private |
Definition at line 3464 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 OpenDDS::XTypes::DynamicDataBase::type().
Referenced by get_complex_from_aggregated(), and get_complex_from_collection().
|
private |
Definition at line 3250 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::enum_bound(), move_single_to_complex_i(), DDS::RETCODE_OK, OpenDDS::XTypes::TK_ENUM, and OpenDDS::XTypes::DynamicDataBase::type().
Referenced by get_complex_from_aggregated(), and get_complex_from_collection().
|
private |
Definition at line 3264 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 2636 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 2601 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 2612 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 2624 of file DynamicDataImpl.cpp.
References container_, and CORBA::wstring_free().
|
private |
Definition at line 2647 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 2653 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 2659 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 2475 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 2480 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 2485 of file DynamicDataImpl.cpp.
References get_int16_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2490 of file DynamicDataImpl.cpp.
References get_uint16_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2495 of file DynamicDataImpl.cpp.
References get_int32_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2500 of file DynamicDataImpl.cpp.
References get_uint32_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2505 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DynamicDataBase::get_int64_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2510 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DynamicDataBase::get_uint64_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2515 of file DynamicDataImpl.cpp.
References get_float32_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2520 of file DynamicDataImpl.cpp.
References get_float64_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2525 of file DynamicDataImpl.cpp.
References get_float128_value(), OpenDDS::XTypes::MEMBER_ID_INVALID, and DDS::RETCODE_OK.
|
private |
Definition at line 2530 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 2542 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 2547 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 2552 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 1253 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 1166 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.
|
private |
Definition at line 8517 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 8449 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 1805 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_, OpenDDS::XTypes::DynamicDataBase::type_desc_, 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 1800 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 1791 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 2442 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 1786 of file DynamicDataImpl.cpp.
DDS::ReturnCode_t OpenDDS::XTypes::DynamicDataImpl::set_char8_values | ( | DDS::MemberId | id, |
const DDS::CharSeq & | value | ||
) |
|
private |
Definition at line 1745 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::DynamicDataBase::type_desc_, OpenDDS::XTypes::typekind_to_string(), and value.
|
private |
Definition at line 2140 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::get_base_type(), insert_complex(), OpenDDS::XTypes::DynamicDataBase::type_desc_, and validate_member_id_collection().
Referenced by set_complex_value().
|
private |
Definition at line 2040 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 2059 of file DynamicDataImpl.cpp.
References ACE_ERROR, clear_container(), OpenDDS::XTypes::DISCRIMINATOR_ID, OpenDDS::XTypes::DynamicDataBase::discriminator_selects_no_member(), OpenDDS::XTypes::DynamicDataBase::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_, OpenDDS::XTypes::DynamicDataBase::type_desc_, 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 2152 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 44 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 1709 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 2402 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 1689 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 2382 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 2392 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_ENUM, and value.
|
private |
Definition at line 2336 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 1639 of file DynamicDataImpl.cpp.
References ACE_ERROR, insert_single(), OpenDDS::XTypes::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::DynamicDataBase::type_desc_, 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 1847 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 1714 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 2407 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 1694 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 2387 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 1724 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 2417 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 2397 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::TK_BITMASK, and value.
|
private |
Definition at line 1608 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_desc_, OpenDDS::XTypes::typekind_to_string(), and validate_member_id_collection().
|
private |
Definition at line 689 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::DynamicDataBase::check_member(), insert_single(), and DDS::RETCODE_OK.
|
private |
Definition at line 1414 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::DynamicDataBase::type_desc_, OpenDDS::XTypes::typekind_to_string(), and validate_discriminator().
|
private |
Definition at line 2324 of file DynamicDataImpl.cpp.
References OpenDDS::XTypes::bound_total(), insert_sequence(), OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::DynamicDataBase::type_desc_, and validate_member_id_collection().
|
private |
Definition at line 2312 of file DynamicDataImpl.cpp.
References insert_sequence(), OpenDDS::XTypes::TK_SEQUENCE, OpenDDS::XTypes::DynamicDataBase::type_desc_, and validate_member_id_collection().
|
private |
Definition at line 2235 of file DynamicDataImpl.cpp.
References insert_sequence().
|
private |
Definition at line 2244 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 1865 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 2466 of file DynamicDataImpl.cpp.
References DDS::RETCODE_UNSUPPORTED, and value.
|
private |
Definition at line 1297 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 2125 of file DynamicDataImpl.cpp.
References ACE_ERROR, OpenDDS::XTypes::bound_total(), check_index_from_id(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, OpenDDS::XTypes::TK_ARRAY, OpenDDS::XTypes::TK_MAP, OpenDDS::XTypes::TK_SEQUENCE, and OpenDDS::XTypes::DynamicDataBase::type_desc_.
Referenced by set_complex_to_collection(), set_value_to_collection(), set_values_to_array(), and set_values_to_sequence().
|
private |
Definition at line 3647 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 3612 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 1007 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_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().