ADTF File Library
Loading...
Searching...
No Matches
adtf_file::StreamTypeSerializer Class Referenceabstract

interface class for stream type serializers. More...

#include <adtf_file_writer.h>

Inheritance diagram for adtf_file::StreamTypeSerializer:
[legend]
Collaboration diagram for adtf_file::StreamTypeSerializer:
[legend]

Public Member Functions

virtual std::string getMetaType () const =0
 Get the Meta Type name for which the serializer serializes stream types.
 
virtual void serialize (const StreamType &stream_type, OutputStream &stream) const =0
 serializes the given stream type into the output stream
 

Detailed Description

interface class for stream type serializers.

Member Function Documentation

◆ getMetaType()

virtual std::string adtf_file::StreamTypeSerializer::getMetaType ( ) const
pure virtual

◆ serialize()

virtual void adtf_file::StreamTypeSerializer::serialize ( const StreamType & stream_type,
OutputStream & stream ) const
pure virtual

serializes the given stream type into the output stream

Parameters
stream_typethe stream type to serialize
streamthe stream to write to

Implemented in adtf_file::adtf2::AdtfCoreMediaTypeAudioSerializer, adtf_file::adtf2::AdtfCoreMediaTypeSerializer, adtf_file::adtf2::AdtfCoreMediaTypeVideoSerializer, and adtf_file::adtf3::StreamTypeSerializer.


The documentation for this class was generated from the following file: