WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WXP::MdrHash Class Reference

This class sets up a hash table for MDR radar information. More...

#include "../include/MdrHash.h"

Public Member Functions

 MdrHash ()
 ~MdrHash ()
int init ()
int get (const char *id, MdrData &data)
int put (const char *id, MdrData &data)
int first ()
int next (MdrData &data)
int print ()

Detailed Description

This class sets up a hash table for MDR radar information.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ MdrHash()

MdrHash::MdrHash ( )

Constructor. Sets up hash table.

References init().

◆ ~MdrHash()

MdrHash::~MdrHash ( )

Destructor

Member Function Documentation

◆ first()

int MdrHash::first ( )

Goes to first site in the hash

◆ get()

int MdrHash::get ( const char * id,
MdrData & data )

Gets the MDR data from hash

Parameters
idID to search hash
Returns
MdrData class containing output data

◆ init()

int MdrHash::init ( )

Initializes the object

Referenced by MdrHash().

◆ next()

int MdrHash::next ( MdrData & data)

Gets the next site from the hash

Return values
dataMdrData class containing output data

◆ print()

int MdrHash::print ( )

Prints the contents of the hash

References WXP::MdrData::print().

◆ put()

int MdrHash::put ( const char * id,
MdrData & data )

Puts the MDR data into hash

Parameters
idID to search hash\
Returns
MdrData class containing output data

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