File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef ObservationNumberList_h
2 #define ObservationNumberList_h
55 void remove(
const QString &listfile);
68 struct ObservationSet {
70 int observationNumberIndex;
76 std::multimap<int, int> m_indexMap;
77 int m_numberObservations;
78 std::vector<ObservationSet> m_sets;
int observationSize() const
How many unique observations are in the list?
Definition: ObservationNumberList.cpp:172
std::vector< QString > possibleFileNames(const QString &on)
Return possible filenames given an observation number.
Definition: ObservationNumberList.cpp:267
QString observationNumber(int index)
Return a observation number given an index.
Definition: SerialNumberList.cpp:468
int size() const
How many serial number / filename combos are in the list.
Definition: SerialNumberList.cpp:384
int serialNumberIndex(const QString &sn)
Return a list index given a serial number.
Definition: SerialNumberList.cpp:490
File name manipulation and expansion.
Definition: FileName.h:100
QString observationNumber(const QString &filename)
Return an observation number given a filename.
Definition: ObservationNumberList.cpp:226
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Serial Number list generator.
Definition: SerialNumberList.h:64
void remove(SerialNumberList *snlist)
Removes all of the listed serial numbers from the observation.
Definition: ObservationNumberList.cpp:95
std::map< QString, int > m_fileMap
Maps filenames to their positions in the list.
Definition: SerialNumberList.h:106
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
int observationNumberMapIndex(const int serialNumberIndex)
Return a observation index given a serial number index.
Definition: ObservationNumberList.cpp:204
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
int fileNameIndex(const QString &filename)
Return a list index given a filename.
Definition: SerialNumberList.cpp:517
~ObservationNumberList()
Destructor.
Definition: ObservationNumberList.cpp:84
bool hasObservationNumber(const QString &on)
Determines whether or not the requested observation number exists in the list.
Definition: ObservationNumberList.cpp:185
Create a list of observation numbers from a file or serial number list.
Definition: ObservationNumberList.h:43
Isis exception class.
Definition: IException.h:91
std::vector< Pair > m_pairs
List of serial number Pair entities.
Definition: SerialNumberList.h:104
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
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Namespace for the standard library.
bool hasSerialNumber(QString sn)
Determines whether or not the requested serial number exists in the list.
Definition: SerialNumberList.cpp:373
ObservationNumberList(const QString &list, bool checkTarget=true)
Creates an ObservationNumberList from a filename.
Definition: ObservationNumberList.cpp:26
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126