Ginan
Loading...
Searching...
No Matches
ObservationKey Struct Reference

Composite key for staging observation map. More...

Detailed Description

Composite key for staging observation map.

Uniquely identifies staged observations using observation type, frequency, and observation code. Implements comparison operator for use in std::map.

Note
Ensures unique identification of observations during staging
Collaboration diagram for ObservationKey:

Public Member Functions

bool operator< (const ObservationKey &other) const
 Comparison operator for std::map ordering.
 

Data Fields

char obsType
 Single character observation type ('C', 'L', 'P', 'D', 'S')
 
E_FType frequency
 Frequency enumeration (F1, F2, F5, etc.)
 
E_ObsCode obsCode
 Observation code enumeration.
 

Member Function Documentation

◆ operator<()

bool ObservationKey::operator< ( const ObservationKey & other) const
inline

Comparison operator for std::map ordering.

Implements lexicographic ordering: obsType, then frequency, then obsCode. Required for use as key in std::map containers.

Parameters
otherOther ObservationKey to compare against
Returns
true if this key is less than other key

Field Documentation

◆ frequency

E_FType ObservationKey::frequency

Frequency enumeration (F1, F2, F5, etc.)

◆ obsCode

E_ObsCode ObservationKey::obsCode

Observation code enumeration.

◆ obsType

char ObservationKey::obsType

Single character observation type ('C', 'L', 'P', 'D', 'S')


The documentation for this struct was generated from the following file: