![]() |
Isis Developer Reference
|
Creates sequential IDs. More...
#include <ID.h>
Public Member Functions | |
ID (const QString &name, int basenum=1) | |
Creates an ID object. More... | |
~ID () | |
Deconstructor. More... | |
QString | Next () |
Returns the next ID in the sequence. More... | |
Creates sequential IDs.
This class generates IDs in numerical sequence, from an input string. The input must contain one, and only one, series of question marks, which will be replaced with numbers in the generation of IDs. The default start value is 1, but this can be changed.
Isis::ID::ID | ( | const QString & | name, |
int | basenum = 1 |
||
) |
Creates an ID object.
name | The string to be a base for the serial IDs |
basenum | The number to start the count at. Defaults to one. |
References _FILEINFO_.
Isis::ID::~ID | ( | ) |
Deconstructor.
QString Isis::ID::Next | ( | ) |
Returns the next ID in the sequence.
References _FILEINFO_.
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 USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 03/21/2022 06:52:33 |