|
ADTF File Library
|
The default interface class for stream types. More...
#include <stream_type.h>
Public Member Functions | |
| virtual void | setMetaType (const std::string &meta_type)=0 |
| Set the Meta Type. | |
| virtual PropertyStreamType & | setProperty (const std::string &name, const std::string &type, const std::string &value)=0 |
| Set a Property. | |
| virtual std::string | getMetaType () const =0 |
| Get the Meta Type. | |
| virtual std::pair< std::string, std::string > | getProperty (const std::string &name) const =0 |
| Get a Property. | |
| virtual void | iterateProperties (std::function< void(const char *, const char *, const char *)> functor) const =0 |
| iterates the properties | |
The default interface class for stream types.
|
pure virtual |
|
pure virtual |
Get a Property.
| name | the name of the property |
Implemented in adtf_file::DefaultStreamType.
|
pure virtual |
iterates the properties
| functor | the function to call for each property |
Implemented in adtf_file::DefaultStreamType.
|
pure virtual |
Set the Meta Type.
| meta_type | the meta type of the stream type |
Implemented in adtf_file::DefaultStreamType.
|
pure virtual |
Set a Property.
| name | name of the property |
| type | type of the property |
| value | value f the property as string |
Implemented in adtf_file::DefaultStreamType.