Isis 3.0 Object Programmers' Reference
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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