Default stream type implementation.
More...
#include <stream_type.h>
Inherits adtf_file::PropertyStreamType, and adtf_file::StreamType.
Inherited by adtf_file::adtf3::SubstreamType.
|
|
| 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
|
| |
|
virtual | ~StreamType ()=default |
| | DTOR.
|
| |
|
virtual | ~StreamItem ()=default |
| | DTOR.
|
| |
Default stream type implementation.
◆ DefaultStreamType()
| adtf_file::DefaultStreamType::DefaultStreamType |
( |
const std::string & | meta_type | ) |
|
CTOR.
- Parameters
-
| meta_type | the meta type to set |
◆ getMetaType()
| std::string adtf_file::DefaultStreamType::getMetaType |
( |
| ) |
const |
|
overridevirtual |
◆ getProperty()
| std::pair< std::string, std::string > adtf_file::DefaultStreamType::getProperty |
( |
const std::string & | name | ) |
const |
|
overridevirtual |
Get a Property.
- Parameters
-
| name | the name of the property |
- Returns
- std::pair<std::string, std::string> the type, value pair
Implements adtf_file::PropertyStreamType.
◆ iterateProperties()
| void adtf_file::DefaultStreamType::iterateProperties |
( |
std::function< void(const char *, const char *, const char *)> | functor | ) |
const |
|
overridevirtual |
◆ setMetaType()
| void adtf_file::DefaultStreamType::setMetaType |
( |
const std::string & | meta_type | ) |
|
|
overridevirtual |
◆ setProperty()
| PropertyStreamType & adtf_file::DefaultStreamType::setProperty |
( |
const std::string & | name, |
|
|
const std::string & | type, |
|
|
const std::string & | value ) |
|
overridevirtual |
Set a Property.
- Parameters
-
| name | name of the property |
| type | type of the property |
| value | value f the property as string |
- Returns
- *this
Implements adtf_file::PropertyStreamType.
The documentation for this class was generated from the following file:
- /workspace/conan/adtf_file_library/0.24.0/dw/stable/package/18e5c2ff233ad5e8bc4435545bee7f12f29c3661/include/adtf_file/stream_type.h