Google

C++ Portable Types Library (PTypes) Version 1.7


Top: Basic types: Lists: strmap: Search

#include <ptypes.h>

unknown* get(const strmap& m, const string& str);
unknown* strmap::operator[] (const string& istr);

unknown* get(const strmap& m, const string& str) retrieves the object associated with the given string str from the string map s. If the item does not exist in the map, the function returns NULL.

unknown* strmap::operator[] (const string& istr) works like get() described above.

See also: Constructors/destructors, Manipulation


PTypes home