DDS-PSM-C++ 1.0 ISO C++ API for OpenSplice DDS |
#include <UnionType.hpp>
Public Member Functions | |
UnionType (const std::string &name, const TPrimitiveType< T > &discriminator_type, const std::vector< UnionCase< T > > &cases) | |
UnionType (const std::string &name, const TPrimitiveType< T > &discriminator_type, const std::vector< UnionCase< T > > &cases, const Annotation &annotation) | |
UnionType (const std::string &name, const TPrimitiveType< T > &discriminator_type, const std::vector< UnionCase< T > > &cases, const std::vector< Annotation > &annotations) | |
UnionType | add_annotation (const Annotation &annotation) const |
UnionType | add_member (const UnionCase< T > &member) const |
const std::vector< Annotation > & | annotations () const |
const MemberType & | member (uint32_t id) const |
const MemberType & | member (const std::string &name) const |
const std::vector< UnionCase < T > > & | members () const |
UnionType | remove_annotation (const Annotation &annotation) const |
UnionType | remove_member (const UnionCase< T > &member) const |
Definition at line 20 of file UnionType.hpp.
dds::core::xtypes::UnionType< T, DELEGATE >::UnionType | ( | const std::string & | name, |
const TPrimitiveType< T > & | discriminator_type, | ||
const std::vector< UnionCase< T > > & | cases | ||
) |
dds::core::xtypes::UnionType< T, DELEGATE >::UnionType | ( | const std::string & | name, |
const TPrimitiveType< T > & | discriminator_type, | ||
const std::vector< UnionCase< T > > & | cases, | ||
const Annotation & | annotation | ||
) |
dds::core::xtypes::UnionType< T, DELEGATE >::UnionType | ( | const std::string & | name, |
const TPrimitiveType< T > & | discriminator_type, | ||
const std::vector< UnionCase< T > > & | cases, | ||
const std::vector< Annotation > & | annotations | ||
) |
UnionType dds::core::xtypes::UnionType< T, DELEGATE >::add_annotation | ( | const Annotation & | annotation | ) | const |
UnionType dds::core::xtypes::UnionType< T, DELEGATE >::add_member | ( | const UnionCase< T > & | member | ) | const |
const std::vector<Annotation>& dds::core::xtypes::UnionType< T, DELEGATE >::annotations | ( | ) | const |
const MemberType& dds::core::xtypes::UnionType< T, DELEGATE >::member | ( | uint32_t | id | ) | const |
const MemberType& dds::core::xtypes::UnionType< T, DELEGATE >::member | ( | const std::string & | name | ) | const |
const std::vector<UnionCase<T> >& dds::core::xtypes::UnionType< T, DELEGATE >::members | ( | ) | const |
UnionType dds::core::xtypes::UnionType< T, DELEGATE >::remove_annotation | ( | const Annotation & | annotation | ) | const |
UnionType dds::core::xtypes::UnionType< T, DELEGATE >::remove_member | ( | const UnionCase< T > & | member | ) | const |