Isis 3 Programmer Reference
ID.h
1
#ifndef ID_h
2
#define ID_h
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
Creates sequential IDs.
Definition
ID.h:27
Isis::ID::ID
ID(const QString &name, int basenum=1)
Creates an ID object.
Definition
ID.cpp:22
Isis::ID::Next
QString Next()
Returns the next ID in the sequence.
Definition
ID.cpp:53
Isis::ID::~ID
~ID()
Deconstructor.
Definition
ID.cpp:45
Isis
This is free and unencumbered software released into the public domain.
Definition
Apollo.h:16
src
base
objs
ID
ID.h