|
ADTF File Library
|
Default stream type implementation. More...
#include <stream_type.h>
Public Member Functions | |
| DefaultStreamType ()=default | |
| CTOR. | |
| DefaultStreamType (const std::string &meta_type) | |
| CTOR. | |
| void | setMetaType (const std::string &meta_type) override |
| Set the Meta Type. | |
| PropertyStreamType & | setProperty (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. | |
Default stream type implementation.
| adtf_file::DefaultStreamType::DefaultStreamType | ( | const std::string & | meta_type | ) |
CTOR.
| meta_type | the meta type to set |
|
overridevirtual |
|
overridevirtual |
Get a Property.
| name | the name of the property |
Implements adtf_file::PropertyStreamType.
|
overridevirtual |
iterates the properties
| functor | the function to call for each property |
Implements adtf_file::PropertyStreamType.
|
overridevirtual |
Set the Meta Type.
| meta_type | the meta type of the stream type |
Implements adtf_file::PropertyStreamType.
|
overridevirtual |
Set a Property.
| name | name of the property |
| type | type of the property |
| value | value f the property as string |
Implements adtf_file::PropertyStreamType.