Tanl Linguistic Pipeline |
Represents a sorted collection of associated string keys and string values that can be accessed with the key. More...
#include <KeyValuePairs.h>
Public Member Functions | |
KeyValuePairs (char const *query) | |
bool | ContainsKey (char const *key) |
char const * | operator[] (char const *key) |
void | FillFromQueryString (char const *query) |
Parse an Http query string and add the corresponding key-value pairs. |
Represents a sorted collection of associated string keys and string values that can be accessed with the key.
Multiple values can be associated to a single key and enumerated by means of equal_range().
void IXE::KeyValuePairs::FillFromQueryString | ( | char const * | query | ) |
Parse an Http query string and add the corresponding key-value pairs.
query | a string in Http query format, e.g. test=aaa&kalle=nisse |
References IXE::url_decode().
char const* IXE::KeyValuePairs::operator[] | ( | char const * | key | ) | [inline] |