![]() |
OpenSplice ISO C++ 2 DCPS
v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
|
#include "StructType.hpp"
Public Member Functions | |
StructType (const std::string &name) | |
StructType (const std::string &name, const StructType &parent, const std::vector< MemberType > &members) | |
template<typename MemberIter > | |
StructType (const std::string &name, const StructType &parent, const MemberIter &begin, const MemberIter &end) | |
StructType (const std::string &name, const StructType &parent, const std::vector< MemberType > &members, const Annotation &annotation) | |
StructType (const std::string &name, const StructType &parent, const std::vector< MemberType > &members, const std::vector< Annotation > &annotations) | |
template<typename AnnotationIter , typename MemberIter > | |
StructType (const std::string &name, const StructType &parent, const MemberIter &begin, const MemberIter &end, const AnnotationIter &begin, const AnnotationIter &end) | |
StructType | add_annotation (const Annotation &annotation) const |
StructType | add_member (const MemberType &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< MemberType > & | members () const |
StructType | parent () const |
StructType | remove_annotation (const Annotation &annotation) const |
StructType | remove_member (const MemberType &member) const |
Create a dynamic structure type. If the members don't have Id associated explicitly, then their ID will be the same as the ordinal position on the members vector.
Definition at line 68 of file StructType.hpp.
dds::core::xtypes::StructType::StructType | ( | const std::string & | name | ) |
dds::core::xtypes::StructType::StructType | ( | const std::string & | name, |
const StructType & | parent, | ||
const std::vector< MemberType > & | members | ||
) |
dds::core::xtypes::StructType::StructType | ( | const std::string & | name, |
const StructType & | parent, | ||
const MemberIter & | begin, | ||
const MemberIter & | end | ||
) |
dds::core::xtypes::StructType::StructType | ( | const std::string & | name, |
const StructType & | parent, | ||
const std::vector< MemberType > & | members, | ||
const Annotation & | annotation | ||
) |
dds::core::xtypes::StructType::StructType | ( | const std::string & | name, |
const StructType & | parent, | ||
const std::vector< MemberType > & | members, | ||
const std::vector< Annotation > & | annotations | ||
) |
dds::core::xtypes::StructType::StructType | ( | const std::string & | name, |
const StructType & | parent, | ||
const MemberIter & | begin, | ||
const MemberIter & | end, | ||
const AnnotationIter & | begin, | ||
const AnnotationIter & | end | ||
) |
StructType dds::core::xtypes::StructType::add_annotation | ( | const Annotation & | annotation | ) | const |
StructType dds::core::xtypes::StructType::add_member | ( | const MemberType & | member | ) | const |
const std::vector<Annotation>& dds::core::xtypes::StructType::annotations | ( | ) | const |
const MemberType& dds::core::xtypes::StructType::member | ( | uint32_t | id | ) | const |
const MemberType& dds::core::xtypes::StructType::member | ( | const std::string & | name | ) | const |
const std::vector<MemberType>& dds::core::xtypes::StructType::members | ( | ) | const |
StructType dds::core::xtypes::StructType::parent | ( | ) | const |
StructType dds::core::xtypes::StructType::remove_annotation | ( | const Annotation & | annotation | ) | const |
StructType dds::core::xtypes::StructType::remove_member | ( | const MemberType & | member | ) | const |