Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

StringMap Class Reference

#include <jAPIcollectors.h>

Inheritance diagram for StringMap:

jMap StringAssociationMap FileDBMap List of all members.

Public Member Functions

 StringMap ()
 ~StringMap ()
bool __fastcall load (FILE *_fichier)
bool __fastcall save (FILE *_fichier)
bool __fastcall load (TStream *_str)
bool __fastcall save (TStream *_str)
bool __fastcall clear ()
int __fastcall count ()
bool __fastcall add (AnsiString _key, AnsiString _value)
bool __fastcall modify (AnsiString _key, AnsiString _value)
bool __fastcall remove (unsigned int _pos)
bool __fastcall remove (AnsiString _key)
AnsiString __fastcall at (int _pos)
AnsiString __fastcall getValue (int _pos)
AnsiString __fastcall getKey (int _pos)
AnsiString __fastcall at (AnsiString _key)

Protected Attributes

map< AnsiString, AnsiString,
less< AnsiString > > 
m_strings

Constructor & Destructor Documentation

StringMap::StringMap  ) 
 

StringMap::~StringMap  ) 
 


Member Function Documentation

bool __fastcall StringMap::add AnsiString  _key,
AnsiString  _value
 

Reimplemented in StringAssociationMap.

AnsiString __fastcall StringMap::at AnsiString  _key  ) 
 

AnsiString __fastcall StringMap::at int  _pos  ) 
 

bool __fastcall StringMap::clear  )  [virtual]
 

Implements jMap.

Reimplemented in StringAssociationMap, and FileDBMap.

int __fastcall StringMap::count  )  [virtual]
 

Implements jMap.

Reimplemented in StringAssociationMap.

AnsiString __fastcall StringMap::getKey int  _pos  ) 
 

AnsiString __fastcall StringMap::getValue int  _pos  ) 
 

bool __fastcall StringMap::load TStream *  _str  )  [virtual]
 

Implements jMap.

Reimplemented in StringAssociationMap.

bool __fastcall StringMap::load FILE *  _fichier  )  [virtual]
 

Implements jMap.

Reimplemented in StringAssociationMap.

bool __fastcall StringMap::modify AnsiString  _key,
AnsiString  _value
 

bool __fastcall StringMap::remove AnsiString  _key  ) 
 

bool __fastcall StringMap::remove unsigned int  _pos  ) 
 

Reimplemented in StringAssociationMap.

bool __fastcall StringMap::save TStream *  _str  )  [virtual]
 

Implements jMap.

Reimplemented in StringAssociationMap.

bool __fastcall StringMap::save FILE *  _fichier  )  [virtual]
 

Implements jMap.

Reimplemented in StringAssociationMap.


Member Data Documentation

map<AnsiString, AnsiString, less<AnsiString> > StringMap::m_strings [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Nov 15 10:52:36 2003 for JAPI by doxygen 1.3.4