mastodon-cpp
0.110.0
|
Vector of Mastodon::param, used for passing parameters in calls. More...
#include <types.hpp>
Public Member Functions | |
const std::vector< param >::const_iterator | find (const string &key) const |
Get iterator to element with key. More... | |
Vector of Mastodon::param, used for passing parameters in calls.
The only difference to a std::vector<param> is the added member find.
Example:
const std::vector< param >::const_iterator parameters::find | ( | const string & | key | ) | const |
Get iterator to element with key.
Searches parameters for an element with a key equivalent to key and returns an iterator to it if found, otherwise it returns an iterator to parameters::end().
key | String to search for. |