RTI Connext Modern C++ API  Version 6.1.0
rti::topic::extensibility< TopicType > Struct Template Reference

<<extension>> Indicates the extensibility kind of a topic-type More...

#include <rti/topic/TopicTraits.hpp>

Detailed Description

template<typename TopicType>
struct rti::topic::extensibility< TopicType >

<<extension>> Indicates the extensibility kind of a topic-type

This trait type is specialized for IDL-generated types provide a member kind of type dds::core::xtypes::ExtensibilityKind.

For example, given the following IDL type, Foo:

struct Foo {
long x;
}; //@Extensibility MUTABLE_EXTENSIBILITY

You can obtain its extensility kind:

== dds::core::xtypes::ExtensibilityKind::MUTABLE);