ADTF File Library
Loading...
Searching...
No Matches
adtf_file::adtf3::SubstreamType Class Reference

#include <substream_utilities.h>

Inheritance diagram for adtf_file::adtf3::SubstreamType:
[legend]
Collaboration diagram for adtf_file::adtf3::SubstreamType:
[legend]

Public Member Functions

 SubstreamType ()
 
void addSubstream (const std::string &name, const SubstreamProperties &properties)
 
- Public Member Functions inherited from adtf_file::DefaultStreamType
 DefaultStreamType ()=default
 CTOR.
 
 DefaultStreamType (const std::string &meta_type)
 CTOR.
 
void setMetaType (const std::string &meta_type) override
 Set the Meta Type.
 
PropertyStreamTypesetProperty (const std::string &name, const std::string &type, const std::string &value) override
 Set a Property.
 
std::string getMetaType () const override
 Get the Meta Type.
 
std::pair< std::string, std::string > getProperty (const std::string &name) const override
 Get a Property.
 
void iterateProperties (std::function< void(const char *, const char *, const char *)> functor) const override
 iterates the properties
 
- Public Member Functions inherited from adtf_file::StreamType
virtual ~StreamType ()=default
 DTOR.
 
- Public Member Functions inherited from adtf_file::StreamItem
virtual ~StreamItem ()=default
 DTOR.
 

Detailed Description

Helper class to build a stream type containing multiple substreams.

Constructor & Destructor Documentation

◆ SubstreamType()

adtf_file::adtf3::SubstreamType::SubstreamType ( )

Constructor.

Member Function Documentation

◆ addSubstream()

void adtf_file::adtf3::SubstreamType::addSubstream ( const std::string & name,
const SubstreamProperties & properties )

Adds a substream.

Parameters
[in]nameThe name of the substream.
[in]propertiesThe properties of the substream.

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