ADTF  3.18.2
stream_type_default_array< T >

Generator template to create an instance of the stream_meta_type_default. More...

Detailed Description

template<typename T = void>
class adtf::mediadescription::quiet::stream_type_default_array< T >

Generator template to create an instance of the stream_meta_type_default.

See Array of structured data for usage of this stream type.

Template Parameters
Tarray of structured data. std::is_trivially_copyable<T>::value must evaluate to true!
See also
Stream Meta Type "adtf/default" and how to use for Array of structured data
Remarks
This class extends the given ddl description by adding a struct type for the given array. Using a type name of "tMyType" by the following:
auto oDescriptionForMyType = structure<tMyType>("tMyType")
.Add("m_nValue1", &tMyType::m_nValue1)
.Add("m_fValue2", &tMyType::m_fValue2)
.Add("m_bArray", &tMyType::m_bArray);
stream_type_default_array<> oStreamType(oDescriptionForMyType, 4);
will extend the properties for the stream type:

Definition at line 329 of file stream_type_default.h.