6 #ifndef OPENDDS_DCPS_XTYPES_UTILS_H 7 #define OPENDDS_DCPS_XTYPES_UTILS_H 9 #ifndef OPENDDS_SAFETY_PROFILE 12 # include <dds/DdsDynamicDataC.h> 22 DDS::TypeDescriptor_var td;
55 , path(left > 0 ? path : 0)
64 , path(left > 0 ? path.c_str() : 0)
70 bool consume(
size_t by);
77 bool get_next_subpath();
107 size_t level()
const {
return ids.size(); }
113 DDS::DynamicType_ptr type, DDS::DynamicTypeMember_var& member);
121 DDS::DynamicData_ptr data, DDS::DynamicData_var& container,
DDS::MemberId& member_id);
133 DDS::DynamicType_ptr type, MemberPathVec& paths,
Filter filter);
139 bool& result, DDS::DynamicData_ptr a, DDS::DynamicData_ptr b,
Filter filter);
141 bool& result, DDS::DynamicData_ptr a, DDS::DynamicData_ptr b);
143 int& result, DDS::DynamicData_ptr a, DDS::DynamicData_ptr b,
DDS::MemberId id);
146 DDS::DynamicType_var& member_type, DDS::DynamicType_ptr container_type,
DDS::MemberId id);
149 DDS::DynamicType_var& member_type, DDS::DynamicData_ptr container,
DDS::MemberId id)
151 DDS::DynamicType_var container_type = container->type();
179 DDS::DynamicType_var type;
192 DDS::DynamicType_var type;
201 DDS::DynamicType_ptr type, DDS::DynamicData_ptr dest,
DDS::MemberId id,
const char* enumeral_name);
203 DDS::DynamicData_ptr dest,
DDS::MemberId id,
const char* enumeral_name)
205 DDS::DynamicType_var type;
214 DDS::String8_var&
name, DDS::Int32 value, DDS::DynamicType_ptr type);
216 DDS::Int32& value,
const char* name, DDS::DynamicType_ptr type);
222 #endif // OPENDDS_SAFETY_PROFILE
const LogLevel::Value value
DDS::ReturnCode_t get_enumerator_value(DDS::Int32 &value, const char *name, DDS::DynamicType_ptr type)
DDS::ReturnCode_t get_member_type(DDS::DynamicType_var &member_type, DDS::DynamicType_ptr container_type, DDS::MemberId id)
const ReturnCode_t RETCODE_OK
DDS::ReturnCode_t get_int_value(CORBA::Int64 &value, DDS::DynamicData_ptr src, DDS::MemberId id, DDS::TypeKind kind)
DDS::ReturnCode_t max_extensibility(DDS::DynamicType_ptr type, DCPS::Extensibility &ext)
#define OpenDDS_Dcps_Export
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
DDS::ReturnCode_t key_count(DDS::DynamicType_ptr type, size_t &count)
DDS::ReturnCode_t set_enum_value(DDS::DynamicType_ptr type, DDS::DynamicData_ptr src, DDS::MemberId id, CORBA::Int32 value)
bool is_key(DDS::DynamicType_ptr type, const char *field)
DDS::ReturnCode_t key_less_than(bool &result, DDS::DynamicData_ptr a, DDS::DynamicData_ptr b)
The Internal API and Implementation of OpenDDS.
MemberPathParser(const DCPS::String &path)
size_t strlen(const char *s)
DDS::ReturnCode_t set_int_value(DDS::DynamicData_ptr src, DDS::MemberId id, DDS::TypeKind kind, CORBA::Int64 value)
typedef OPENDDS_VECTOR(MemberPair) MatchedSet
DDS::ReturnCode_t compare_members(int &result, DDS::DynamicData_ptr a, DDS::DynamicData_ptr b, DDS::MemberId id)
DDS::ReturnCode_t bitmask_bound(DDS::DynamicType_ptr type, DDS::TypeKind &bound_kind)
DDS::ReturnCode_t get_keys(DDS::DynamicType_ptr type, MemberPathVec &paths)
DDS::ReturnCode_t set_uint_value(DDS::DynamicData_ptr src, DDS::MemberId id, DDS::TypeKind kind, CORBA::UInt64 value)
DDS::ReturnCode_t enum_bound(DDS::DynamicType_ptr type, DDS::TypeKind &bound_kind)
bool is_int(DDS::TypeKind tk)
DDS::ReturnCode_t get_bitmask_value(CORBA::UInt64 &value, DDS::DynamicType_ptr type, DDS::DynamicData_ptr src, DDS::MemberId id)
MemberPathParser(const char *path)
MemberPath & id(DDS::MemberId id)
bool is_uint(DDS::TypeKind tk)
DDS::ReturnCode_t get_uint_value(CORBA::UInt64 &value, DDS::DynamicData_ptr src, DDS::MemberId id, DDS::TypeKind kind)
DDS::ReturnCode_t less_than(bool &result, DDS::DynamicData_ptr a, DDS::DynamicData_ptr b, Filter filter)
DDS::ReturnCode_t get_enum_value(CORBA::Int32 &value, DDS::DynamicType_ptr type, DDS::DynamicData_ptr src, DDS::MemberId id)
DDS::ReturnCode_t get_enumerator_name(DDS::String8_var &name, DDS::Int32 value, DDS::DynamicType_ptr type)
DDS::ReturnCode_t get_values(DDS::DynamicType_ptr type, MemberPathVec &paths, Filter filter)
MemberPath(const MemberPath &other, DDS::MemberId id)
extensibility(MUTABLE) struct TypeLookup_getTypes_In
DCPS::Extensibility dds_to_opendds_ext(DDS::ExtensibilityKind ext)
bool dynamic_type_is_valid(DDS::DynamicType_ptr type)