RTI Connext Modern C++ API
Version 6.0.1
|
Given a Sample, an Offset or a Builder, it allows obtaining the other types. More...
#include <FlatTypeTraits.hpp>
Given a Sample, an Offset or a Builder, it allows obtaining the other types.
T | One of the following:
|
Given T
, this type provides the following typedefs:
flat_type_traits<T>::offset
, T's related offset type (undefined if T itself is an Offset) flat_type_traits<T>::builder
, T's related builder type (undefined if T itself is a Builder, or the topic-type is not mutable) flat_type_traits<T>::flat_type
, T's related Sample type (undefined if T itself is a Sample type) flat_type_traits<T>::plain_type
, T's equivalent definition as a plain (non-FlatData) type.For example, for T
= MyFlatMutable, flat_type_traits is defined as follows:
Or if T
= MyFlatMutableOffset: