1#ifndef ObservationNumberList_h
2#define ObservationNumberList_h
55 void remove(
const QString &listfile);
68 struct ObservationSet {
69 int serialNumberIndex;
70 int observationNumberIndex;
71 QString observationNumber;
76 std::multimap<int, int> m_indexMap;
77 int m_numberObservations;
78 std::vector<ObservationSet> m_sets;
Create a list of observation numbers from a file or serial number list.
Definition ObservationNumberList.h:43
int observationSize() const
How many unique observations are in the list?
Definition ObservationNumberList.cpp:172
bool hasObservationNumber(const QString &on)
Determines whether or not the requested observation number exists in the list.
Definition ObservationNumberList.cpp:185
~ObservationNumberList()
Destructor.
Definition ObservationNumberList.cpp:84
std::vector< QString > possibleFileNames(const QString &on)
Return possible filenames given an observation number.
Definition ObservationNumberList.cpp:267
ObservationNumberList(const QString &list, bool checkTarget=true)
Creates an ObservationNumberList from a filename.
Definition ObservationNumberList.cpp:26
void remove(SerialNumberList *snlist)
Removes all of the listed serial numbers from the observation.
Definition ObservationNumberList.cpp:95
QString observationNumber(const QString &filename)
Return an observation number given a filename.
Definition ObservationNumberList.cpp:226
void add(int isn, const int observationIndex, QString observationNumber)
Adds a new serial number index / observation number index / observation number to the SerialNumberLis...
Definition ObservationNumberList.cpp:154
int observationNumberMapIndex(const int serialNumberIndex)
Return a observation index given a serial number index.
Definition ObservationNumberList.cpp:204
Serial Number list generator.
Definition SerialNumberList.h:64
int serialNumberIndex(const QString &sn)
Return a list index given a serial number.
Definition SerialNumberList.cpp:490
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16