Isis 3 Programmer Reference
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
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
QString Next()
Returns the next ID in the sequence.
Definition: ID.cpp:64