USGS

Isis 3.0 Developer's Reference (API)

Home

Isis::ID Class Reference

Creates sequential IDs. More...

#include <ID.h>

Public Member Functions

 ID (const QString &name, int basenum=1)
 Creates an ID object.
 
 ~ID ()
 Deconstructor.
 
QString Next ()
 Returns the next ID in the sequence.
 

Detailed Description

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.

Author
2006-07-05 Brendan George

Constructor & Destructor Documentation

Isis::ID::ID ( const QString &  name,
int  basenum = 1 
)

Creates an ID object.

Parameters
nameThe string to be a base for the serial IDs
basenumThe number to start the count at. Defaults to one.

References _FILEINFO_.

Isis::ID::~ID ( )

Deconstructor.

Member Function Documentation

QString Isis::ID::Next ( )

Returns the next ID in the sequence.

Returns
QString The next ID in the sequence

References _FILEINFO_.


The documentation for this class was generated from the following files: