Template Class TUnionType

Inheritance Relationships

Base Type

Class Documentation

template<typename T, template<typename> class DELEGATE>
class TUnionType : public dds::core::xtypes::TDynamicType<DELEGATE<T>>

Public Functions

inline TUnionType(const std::string &name, const TPrimitiveType<T, DELEGATE<T>> &discriminator_type, const std::vector<UnionCase<T>> &cases)
inline TUnionType(const std::string &name, const TPrimitiveType<T, DELEGATE<T>> &discriminator_type, const std::vector<UnionCase<T>> &cases, const Annotation &annotation)
inline TUnionType(const std::string &name, const TPrimitiveType<T, DELEGATE<T>> &discriminator_type, const std::vector<UnionCase<T>> &cases, const std::vector<Annotation> &annotations)
inline const std::vector<UnionCase<T>> &members() const
inline const MemberType &member(uint32_t id) const
inline const MemberType &member(const std::string &name) const
inline const std::vector<Annotation> &annotations() const
inline TUnionType add_member(const UnionCase<T> &member) const
inline TUnionType remove_member(const UnionCase<T> &member) const
inline TUnionType add_annotation(const Annotation &annotation) const
inline TUnionType remove_annotation(const Annotation &annotation) const