Tanl Linguistic Pipeline

IXE::KeyValuePairs Class Reference

Represents a sorted collection of associated string keys and string values that can be accessed with the key. More...

#include <KeyValuePairs.h>

List of all members.

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.

Detailed Description

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().


Member Function Documentation

void IXE::KeyValuePairs::FillFromQueryString ( char const *  query  ) 

Parse an Http query string and add the corresponding key-value pairs.

Parameters:
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]
Returns:
one value associated to the key.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.