Isis Developer Reference
ID.h
Go to the documentation of this file.
1 #ifndef ID_h
2 #define ID_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include <QString>
10 
11 namespace Isis {
27  class ID {
28  public:
29  ID(const QString &name, int basenum = 1);
30 
31  ~ID();
32 
33  QString Next();
34 
35  private:
36  QString p_namebase;
37  int p_current;
38  int p_numLength;
39  int p_numStart;
40  };
41 }
42 
43 #endif
Isis::ID::~ID
~ID()
Deconstructor.
Definition: ID.cpp:45
Isis::ID::ID
ID(const QString &name, int basenum=1)
Creates an ID object.
Definition: ID.cpp:22
IString.h
Isis::ID::Next
QString Next()
Returns the next ID in the sequence.
Definition: ID.cpp:53
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
ID.h
Isis::IException
Isis exception class.
Definition: IException.h:91
IException.h
std
Namespace for the standard library.
Isis::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
Isis::ID
Creates sequential IDs.
Definition: ID.h:27
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Message.h