avcpp
2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Dictionary key and value holder and accessor. More...
#include <dictionary.h>
Public Member Functions | |||||
const char * | key () const noexcept | ||||
key - item key accessor More... | |||||
const char * | value () const noexcept | ||||
value - item value accessor More... | |||||
operator bool () const | |||||
operator bool - converts holder to bool returns true if entry valid, false otherwise More... | |||||
bool | isNull () const | ||||
isNull - checks that entry invalid (null) More... | |||||
Entry function-like value set inteface | |||||
set - change value of the current item
| |||||
void | set (const char *value, int flags=0) noexcept | ||||
void | set (const std::string &value, int flags=0) noexcept | ||||
Entry operator[]-like value set inteface | |||||
Helper operators. Syntax shugar.
| |||||
Entry & | operator= (const char *value) noexcept | ||||
Entry & | operator= (const std::string &value) noexcept | ||||
Friends | |
template<bool > | |
class | DictionaryIterator |
class | Dictionary |
bool | operator== (const Entry &lhs, const Entry &rhs) |
bool | operator!= (const Entry &lhs, const Entry &rhs) |
Dictionary key and value holder and accessor.
bool av::Dictionary::Entry::isNull | ( | ) | const |
isNull - checks that entry invalid (null)
|
noexcept |
key - item key accessor
av::Dictionary::Entry::operator bool | ( | ) | const |
operator bool - converts holder to bool returns true if entry valid, false otherwise
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
value - item value accessor
|
friend |
|
friend |