#include <TypeID.hpp>
Collaboration diagram for TypeID:

This class is extensible in run-time, so the programmer may add indexes on-demand. For instance, in order to create a new TypeID object referring INS-related data, and with "Inertial" as description string, you may write the following:
TypeID INS = TypeID::newValueType("Inertial");
Or using the constructor:
TypeID INS(TypeID::newValueType("Inertial"));
From now on, you'll be able to use INS as TypeID when you need to refer to inertial system data.
Definition at line 84 of file TypeID.hpp.
Public Types | |
| enum | ValueType { Unknown, C1, C2, P1, P2, L1, L2, D1, D2, S1, S2, T1, T2, SSI1, LLI1, SSI2, LLI2, C5, L5, D5, S5, SSI5, LLI5, C6, L6, D6, S6, SSI6, LLI6, C7, L7, D7, S7, SSI7, LLI7, C8, L8, D8, S8, SSI8, LLI8, PC, LC, PI, LI, Pdelta, Ldelta, MWubbena, GRAPHIC1, GRAPHIC2, GRAPHIC5, GRAPHIC6, GRAPHIC7, GRAPHIC8, WL, WL1, WL2, WL3, WL4, EWL, L1dot, L1dot2, L2dot, L2dot2, L5dot, L5dot2, P1dot, P1dot2, P2dot, P2dot2, P5dot, P5dot2, L6dot, L6dot2, L7dot, L7dot2, L8dot, L8dot2, LCdot, LCdot2, LIdot, LIdot2, Ldeltadot, Ldeltadot2, rho, rhodot, rhodot2, dtSat, dtSatdot, dtSatdot2, rel, gravDelay, tropo, dryTropo, dryMap, wetTropo, wetMap, tropoSlant, iono, ionoTEC, ionoMap, ionoMap2, ionoL1, ionoL2, ionoL5, ionoL6, ionoL7, ionoL8, windUp, satPCenter, satX, satY, satZ, satVX, satVY, satVZ, satAX, satAY, satAZ, satJ2kX, satJ2kY, satJ2kZ, satJ2kVX, satJ2kVY, satJ2kVZ, satJ2kAX, satJ2kAY, satJ2kAZ, elevation, azimuth, CSL1, CSL2, CSL5, CSL6, CSL7, CSL8, satArc, BL1, BL2, BL5, BL6, BL7, BL8, BLC, BWL, BWL2, BWL3, BWL4, mpC1, mpC2, mpC5, mpC6, mpC7, mpC8, mpL1, mpL2, mpL5, mpL6, mpL7, mpL8, instC1, instC2, instC5, instC6, instC7, instC8, instL1, instL2, instL5, instL6, instL7, instL8, prefitP1, prefitP2, prefitL1, prefitL2, postfitP1, postfitP2, postfitL1, postfitL2, prefitC5, prefitL5, postfitC5, postfitL5, prefitGRAPHIC1, prefitGRAPHIC2, postfitGRAPHIC1, postfitGRAPHIC2, prefitMWubbena, prefitWL, prefitWL2, prefitWL3, prefitWL4, postfitWL, postfitWL2, postfitWL3, postfitWL4, prefitC, prefitL, postfitC, postfitL, dx, dy, dz, dLat, dLon, dH, cdt, cdtSat, dSatX, dSatY, dSatZ, dSatR, dSatT, dSatN, weight, codeBias, cdtC1, cdtP1, cdtC2, cdtP2, cdtC5, cdtP5, cdtL1, cdtL2, cdtL5, cdtPC, cdtLC, cdtWL, cdtWL2, cdtWL3, cdtWL4, cdtMW, cdtSatC1, cdtSatP1, cdtSatC2, cdtSatP2, cdtSatC5, cdtSatP5, cdtSatL1, cdtSatL2, cdtSatL5, cdtSatPC, cdtSatLC, cdtSatWL, cdtSatMW, recX, recY, recZ, recVX, recVY, recVZ, recAX, recAY, recAZ, recLat, recLon, recH, recVLat, recVLon, recVH, recALat, recALon, recAH, recJ2kX, recJ2kY, recJ2kZ, recJ2kVX, recJ2kVY, recJ2kVZ, recJ2kAX, recJ2kAY, recJ2kAZ, sigma, iura, dummy0, dummy1, dummy2, dummy3, dummy4, dummy5, dummy6, dummy7, dummy8, dummy9, Last, Placeholder = Last+1000 } |
| The type of the data value. More... | |
Public Member Functions | |
| TypeID () | |
| empty constructor, creates an invalid object | |
| TypeID (ValueType vt) | |
| Explicit constructor. | |
| virtual bool | operator== (const TypeID &right) const |
| Equality requires all fields to be the same. | |
| virtual bool | operator< (const TypeID &right) const |
| This ordering is somewhat arbitrary but is required to be able to use an TypeID as an index to a std::map. | |
| bool | operator!= (const TypeID &right) const |
| Inequality operator. | |
| bool | operator> (const TypeID &right) const |
| Greater than operator. | |
| bool | operator<= (const TypeID &right) const |
| Less than or equal operator. | |
| bool | operator>= (const TypeID &right) const |
| Greater than or equal operator. | |
| virtual TypeID | operator= (const TypeID &right) |
| Assignment operator. | |
| virtual std::ostream & | dump (std::ostream &s) const |
| Convenience output method. | |
| virtual bool | isValid () const |
| Returns true if this is a valid TypeID. | |
| virtual | ~TypeID () |
| Destructor. | |
Static Public Member Functions | |
| ValueType | newValueType (const std::string &s) |
| Static method to add new TypeID's. | |
| void | regTypeIDs (RegTypeID *pReg, bool bAdd=false) |
| Static method to register new TypeID by a RegTypeID class. | |
| TypeID | byName (std::string name) throw (InvalidRequest) |
| Static method to get the user registered TypeID by name string. | |
| TypeID | regByName (std::string name, std::string desc) |
| Static method to add new TypeID's by name string. | |
| void | unregByName (std::string name) |
| unregister a TypeID by it's name string | |
| void | unregAll () |
| unregister all TypeIDs registered by name string | |
Public Attributes | |
| ValueType | type |
| Type of the value. | |
Static Public Attributes | |
| std::map< ValueType, std::string > | tStrings |
| Map holding type descriptions. | |
| Initializer | TypeIDsingleton |
|
|
The type of the data value.
Definition at line 89 of file TypeID.hpp. Referenced by TypeID::newValueType(). |
|
|
empty constructor, creates an invalid object
Definition at line 397 of file TypeID.hpp. |
|
|
Explicit constructor.
Definition at line 409 of file TypeID.hpp. |
|
|
Destructor.
Definition at line 459 of file TypeID.hpp. |
|
|
Static method to get the user registered TypeID by name string.
Definition at line 536 of file TypeID.cpp. References GPSTK_THROW. |
|
|
Convenience output method.
Definition at line 359 of file TypeID.cpp. Referenced by gpstk::StringUtils::asString(), and gpstk::operator<<(). |
|
|
Returns true if this is a valid TypeID. Basically just checks that the enum is defined Definition at line 369 of file TypeID.cpp. References TypeID::type. |
|
|
Static method to add new TypeID's.
Definition at line 378 of file TypeID.cpp. References TypeID::ValueType. |
|
|
Inequality operator.
Definition at line 426 of file TypeID.hpp. References gpstk::operator==(). |
|
|
This ordering is somewhat arbitrary but is required to be able to use an TypeID as an index to a std::map. If an application needs some other ordering, inherit and override this function. Definition at line 421 of file TypeID.hpp. References TypeID::type. |
|
|
Less than or equal operator.
Definition at line 436 of file TypeID.hpp. References gpstk::operator<(), and gpstk::operator==(). |
|
|
Assignment operator.
Definition at line 350 of file TypeID.cpp. References TypeID::type. |
|
|
Equality requires all fields to be the same.
Definition at line 414 of file TypeID.hpp. References TypeID::type. |
|
|
Greater than operator.
Definition at line 431 of file TypeID.hpp. References gpstk::operator<(), and gpstk::operator==(). |
|
|
Greater than or equal operator.
Definition at line 441 of file TypeID.hpp. References gpstk::operator<(). |
|
||||||||||||
|
Static method to add new TypeID's by name string.
Definition at line 465 of file TypeID.cpp. |
|
||||||||||||
|
Static method to register new TypeID by a RegTypeID class.
Definition at line 450 of file TypeID.cpp. References RegTypeID::regAll(), and TypeID::unregAll(). |
|
|
unregister all TypeIDs registered by name string
Definition at line 515 of file TypeID.cpp. References TypeID::type. Referenced by TypeID::regTypeIDs(). |
|
|
unregister a TypeID by it's name string
Definition at line 488 of file TypeID.cpp. References TypeID::type. |
|
|
Map holding type descriptions.
Definition at line 37 of file TypeID.cpp. |
|
|
Type of the value.
Definition at line 469 of file TypeID.hpp. Referenced by CodeSmoother::CodeSmoother(), TypeID::isValid(), OneFreqCSDetector::OneFreqCSDetector(), TypeID::operator<(), TypeID::operator=(), TypeID::operator==(), TypeID::unregAll(), and TypeID::unregByName(). |
|
|
Definition at line 483 of file TypeID.hpp. |
1.3.9.1