Isis 3.0 Programmer Reference
Back | Home
ID.h
Go to the documentation of this file.
1 #ifndef ID_h
2 #define ID_h
3 
26 #include <QString>
27 
28 namespace Isis {
44  class ID {
45  public:
46  ID(const QString &name, int basenum = 1);
47 
48  ~ID();
49 
50  QString Next();
51 
52  private:
53  QString p_namebase;
54  int p_current;
55  int p_numLength;
56  int p_numStart;
57  };
58 }
59 
60 #endif
~ID()
Deconstructor.
Definition: ID.cpp:56
Creates sequential IDs.
Definition: ID.h:44
ID(const QString &name, int basenum=1)
Creates an ID object.
Definition: ID.cpp:33
QString Next()
Returns the next ID in the sequence.
Definition: ID.cpp:64

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:19:49