sbStringMap Class Reference

#include <sbStringMap.h>

Inheritance diagram for sbStringMap:
[legend]
Collaboration diagram for sbStringMap:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBISTRINGMAP
NS_DECL_SBIMUTABLESTRINGMAP 
sbStringMap ()
 
- Public Member Functions inherited from sbIMutableStringMap
void set (in AString key, in AString value)
 
void clear ()
 
- Public Member Functions inherited from sbIStringMap
AString get (in AString key)
 

Protected Member Functions

virtual ~sbStringMap ()
 

Protected Attributes

nsDataHashtable
< nsStringHashKey, nsString > 
mMap
 

Detailed Description

This class provides a very simple interface to store name value pairs of strings. The main drive for this implementation was the lack of nsIPropertyBagWritable to provide any kind of clearing method. And to eliminate the overhead of the nsIVariant used there.

Definition at line 42 of file sbStringMap.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_SBISTRINGMAP NS_DECL_SBIMUTABLESTRINGMAP sbStringMap::sbStringMap ( )

Initializes the hash

sbStringMap::~sbStringMap ( )
protectedvirtual

Just specified

Definition at line 40 of file sbStringMap.cpp.

Member Data Documentation

nsDataHashtable<nsStringHashKey, nsString> sbStringMap::mMap
protected

Definition at line 60 of file sbStringMap.h.


The documentation for this class was generated from the following files: