1 #ifndef OMG_DDS_CORE_XTYPES_T_DYNAMIC_TYPE_HPP_ 2 #define OMG_DDS_CORE_XTYPES_T_DYNAMIC_TYPE_HPP_ 28 #if defined (OMG_DDS_X_TYPES_DYNANIC_TYPE_SUPPORT) 40 bool isPrimitiveType(
const DynamicType<T>& t);
43 bool isConstructedType(
const DynamicType<T>& t);
46 bool isCollectionType(
const DynamicType<T>& t);
49 bool isAggregationType(
const DynamicType<T>& t);
65 DynamicType(
const std::string& name, TypeKind kind);
66 DynamicType(
const std::string& name, TypeKind kind,
const Annotation& annotation);
67 DynamicType(
const std::string& name, TypeKind kind,
const std::vector<Annotation>& annotations);
68 template <
typename FWI>
69 DynamicType(
const std::string& name, TypeKind kind,
const FWI& annotation_begin,
const FWI& annotation_end);
70 DynamicType(
const DyamicType& other);
76 TypeKind kind()
const;
81 const std::string& name()
const;
83 const std::vector<Annotation>& annotations()
const;
91 #endif // defined(OMG_DDS_EXTENSIBLE_AND_DYNAMIC_TOPIC_TYPE_SUPPORT) 94 #endif // !defined(OMG_DDS_CORE_XTYPES_T_DYNAMIC_TYPE_HPP_)
Base class for reference-counted objects.
bool operator==(const R &ref) const
TAnnotation< detail::Annotation > Annotation