Isis Developer Reference
ID.h
Go to the documentation of this file.
1#ifndef ID_h
2#define ID_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include <QString>
10
11namespace 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
Creates sequential IDs.
Definition ID.h:27
ID(const QString &name, int basenum=1)
Creates an ID object.
Definition ID.cpp:22
QString Next()
Returns the next ID in the sequence.
Definition ID.cpp:53
~ID()
Deconstructor.
Definition ID.cpp:45
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16