|
Isis Developer Reference
|
Go to the documentation of this file.
2 #ifndef ObservationNumber_h
3 #define ObservationNumber_h
52 static QString
Compose(
Pvl &label,
bool def2filename =
false);
54 static QString
Compose(
Cube &cube,
bool def2filename =
false);
56 static QString
Compose(
const QString &filename,
bool def2filename =
false);
62 static PvlGroup FindObservationTranslation(
Pvl &label);
Serial Number composer.
Definition: SerialNumber.h:71
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
A single keyword-value pair.
Definition: PvlKeyword.h:82
int size() const
How many serial number / filename combos are in the list.
Definition: SerialNumberList.cpp:384
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
File name manipulation and expansion.
Definition: FileName.h:100
Container for cube-like labels.
Definition: Pvl.h:119
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
QString serialNumber(const QString &filename)
Return a serial number given a filename.
Definition: SerialNumberList.cpp:426
virtual ~ObservationNumber()
Destroy a SerialNumber object.
Definition: ObservationNumber.cpp:24
Allows applications to translate simple text files.
Definition: PvlToPvlTranslationManager.h:65
std::vector< QString > PossibleSerial(const QString &on, SerialNumberList &list)
Creates a vector of plasible SerialNumbers from a string representing the ObservationNumber and a Ser...
Definition: ObservationNumber.cpp:150
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
QString fileName() const
Returns the filename used to initialise the Pvl object.
Definition: PvlContainer.h:232
static QString Compose(Pvl &label, bool def2filename=false)
Compose a ObservationNumber from a PVL.
Definition: ObservationNumber.cpp:31
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis exception class.
Definition: IException.h:91
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Definition: Cube.cpp:1701
Serial Number composer.
Definition: ObservationNumber.h:46
static QString CreateSerialNumber(PvlGroup &snGroup, int key)
Create the SerialNumber string by concatenating the keywords in the label with '/' in between serialN...
Definition: SerialNumber.cpp:164
ObservationNumber()
Create an empty SerialNumber object.
Definition: ObservationNumber.cpp:19
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16