Alphabetic Class Index   |   Class Inheritance Tree Index   |   Tool Index

Class: APIDentifier

This is a base class.

Description:
This class is basicly a map between APIDs and packets types for the Swift mission. The mapping information is read from a configuration file by the constructor.

The configuration file has one line per APID, with blank lines and lines beginning with "#" ignored. A line should contain the APID (in decimal), then whitespace, followed by the packet type. Any text following the packet type is ignored and may be used to decribe the packet contents.

Valid packet types are:

Data Fields
publicstatic const intUNKNOWN
publicstatic const intHEAD2
publicstatic const intHEAD3
publicstatic const intUVOT
publicstatic const intLDP
publicstatic const intCHECKSUM
publicstatic const intACS
publicstatic const intTDRSS
publicstatic const intTRASH
privatemap<int,int>types

Constructors / Destructor
public APIDentifier(const string& file)
Constructor .
public ~APIDentifier()

Methods
public virtual int type(int apid)
private virtual int parseTypeString(string word)
Parse a string representation of a type and return its integer code .

Operators


Alphabetic Class Index   |   Class Inheritance Tree Index   |   Tool Index