WXP::SfcHash Class Reference

This class sets up a has table for city database information. More...

#include "../include/SfcHash.h"

List of all members.

Public Member Functions

 SfcHash ()
int init ()
int get (const char *id, SfcData &data)
int put (const char *id, SfcData &data)
int first ()
int next (SfcData &sdata)

Detailed Description

This class sets up a has table for city database information.

Author:
Dan Vietor

Constructor & Destructor Documentation

SfcHash::SfcHash (  ) 

Constructor. Sets up hash table.


Member Function Documentation

int SfcHash::get ( const char *  id,
SfcData data 
)

Gets the city data from hash

Parameters:
id City ID to search hash
Returns:
CityHashData class containing output data

References WXP::Hash::search().

int SfcHash::next ( SfcData data  ) 

Gets the next data from hash

Parameters:
id ID to search hash
Returns:
SfcData class containing output data

References WXP::Hash::next().

int SfcHash::put ( const char *  id,
SfcData data 
)

Puts the city data from hash

Parameters:
id City ID to search hash\
Returns:
CityHashData class containing output data

References WXP::Hash::enter().


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

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1