Isis 3 Programmer Reference
SerialNumber.h
Go to the documentation of this file.
1 #ifndef SerialNumber_h
2 #define SerialNumber_h
3 
26 #include <string>
27 
28 #include "SerialNumberList.h"
29 
30 namespace Isis {
31  class Pvl;
32  class PvlGroup;
33  class Cube;
34 
85  class SerialNumber {
86  public:
87  SerialNumber();
88 
89  virtual ~SerialNumber();
90 
91  static QString Compose(Pvl &label, bool def2filename = false);
92 
93  static QString Compose(Cube &cube, bool def2filename = false);
94 
95  static QString Compose(const QString &filename, bool def2filename = false);
96 
97  static QString ComposeObservation(const QString &sn, SerialNumberList &list, bool def2filename = false);
98 
99  protected:
100 
101  static QString CreateSerialNumber(PvlGroup &snGroup, int key);
102 
103  private:
104 
105  static PvlGroup FindSerialTranslation(Pvl &label);
106 
107  }; // End of Class
108 }; // End of namespace
109 
110 #endif
static QString CreateSerialNumber(PvlGroup &snGroup, int key)
Create the SerialNumber string by concatenating the keywords in the label with &#39;/&#39; in between serialN...
Serial Number composer.
Definition: SerialNumber.h:85
virtual ~SerialNumber()
Destroy a SerialNumber object.
static QString Compose(Pvl &label, bool def2filename=false)
Compose a SerialNumber from a PVL.
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
SerialNumber()
Create an empty SerialNumber object.
Container for cube-like labels.
Definition: Pvl.h:135
static QString ComposeObservation(const QString &sn, SerialNumberList &list, bool def2filename=false)
Creates the ObservationNumber from a string representing the SerialNumber and a SerialList.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Serial Number list generator.
static PvlGroup FindSerialTranslation(Pvl &label)
Get Groups by translating from correct Translation table.
IO Handler for Isis Cubes.
Definition: Cube.h:170