WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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

References WXP::Hash::first().

◆ 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

References WXP::Hash::search().

◆ init()

int MdrHash::init ( )

Initializes the object

References WXP::Hash::set().

Referenced by MdrHash().

◆ next()

int MdrHash::next ( MdrData data)

Gets the next site from the hash

Return values
dataMdrData class containing output data

References WXP::Hash::next().

◆ print()

int MdrHash::print ( )

Prints the contents of the hash

References WXP::Hash::first(), WXP::Hash::next(), and 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

References WXP::Hash::enter().


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