  | 
  
    Isis 3 Programmer Reference
    
   | 
 
 
 
 
    1 #ifndef ObservationNumberList_h 
    2 #define ObservationNumberList_h 
   15 #include "SerialNumberList.h" 
   55       void remove(
const QString &listfile);
 
   69         int serialNumberIndex;
 
   70         int observationNumberIndex;
 
   71         QString observationNumber;
 
 
 
int observationSize() const
How many unique observations are in the list?
 
std::vector< QString > possibleFileNames(const QString &on)
Return possible filenames given an observation number.
 
int serialNumberIndex(const QString &sn)
Return a list index given a serial number.
 
An observation consiting of a serial number index to the ObservationNumberList, an observation number...
 
QString observationNumber(const QString &filename)
Return an observation number given a filename.
 
Serial Number list generator.
 
void remove(SerialNumberList *snlist)
Removes all of the listed serial numbers from the observation.
 
int m_numberObservations
Count of observations in the observation number list.
 
int observationNumberMapIndex(const int serialNumberIndex)
Return a observation index given a serial number index.
 
~ObservationNumberList()
Destructor.
 
void init(SerialNumberList *snlist)
Initiates the ObservationNumberList.
 
bool hasObservationNumber(const QString &on)
Determines whether or not the requested observation number exists in the list.
 
Create a list of observation numbers from a file or serial number list.
 
std::multimap< int, int > m_indexMap
Maps serial number index to observation number index.
 
void add(int isn, const int observationIndex, QString observationNumber)
Adds a new serial number index / observation number index / observation number to the SerialNumberLis...
 
std::vector< ObservationSet > m_sets
List of observation sets.
 
ObservationNumberList(const QString &list, bool checkTarget=true)
Creates an ObservationNumberList from a filename.
 
This is free and unencumbered software released into the public domain.