adtf_file_library
0.13.1
|
Default stream type implementation. More...
#include <stream_type.h>
Public Member Functions | |
DefaultStreamType ()=default | |
CTOR. | |
DefaultStreamType (const std::string &meta_type) | |
CTOR. More... | |
void | setMetaType (const std::string &meta_type) override |
Set the Meta Type. More... | |
PropertyStreamType & | setProperty (const std::string &name, const std::string &type, const std::string &value) override |
Set a Property. More... | |
std::string | getMetaType () const override |
Get the Meta Type. More... | |
std::pair< std::string, std::string > | getProperty (const std::string &name) const override |
Get a Property. More... | |
void | iterateProperties (std::function< void(const char *, const char *, const char *)> functor) const override |
iterates the properties More... | |
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.