#include <UniqueID.h>
Public Member Functions | |
UniqueID (string uniqueID) | |
Constructs from a string envoded uniqueID. | |
UniqueID (unsigned int runNumber, unsigned int scanNumber, string module) | |
Constructs a UniqueID from its constituents. | |
Sct::UniqueID | getUniqueID () const |
Returns the unique ID Does not throw. | |
operator string () const | |
Returns getUniqueID() Does not throw. | |
string | getModule () const |
Returns the module serial number Does not throw. | |
unsigned int | getRunNumber () const |
Returns the run number Does not throw. | |
unsigned int | getScanNumber () const |
Returns the scan number Does not throw. | |
UniqueID & | operator= (const UniqueID &other) |
set equal to operator | |
bool | operator== (const UniqueID &other) const |
equality test operator | |
bool | operator!= (const UniqueID &other) const |
non-equality test operator | |
Private Attributes | |
unsigned int | runNumber |
unsigned int | scanNumber |
string | nameAsString |
string | module |
Friends | |
class | IOName |
All classes in this package should use this type of uniqueID.
Definition at line 16 of file UniqueID.h.
|
Constructs from a string envoded uniqueID. throws InvalidArgumentError if the format of uniqueID is not correct |
|
Constructs a UniqueID from its constituents. Does not throw |
|
Returns the module serial number Does not throw.
|
|
Returns the run number Does not throw.
|
|
Returns the scan number Does not throw.
Referenced by SctAnalysis::AnalysisAlgorithm::addFitScanResult(), and SctAnalysis::AnalysisAlgorithm::addRawScanResult(). |
|
Returns the unique ID Does not throw.
Referenced by SctData::RawScanResult::getUniqueID(), and SctData::FitScanResult::getUniqueID(). |
|
Returns getUniqueID() Does not throw.
|
|
non-equality test operator
|
|
set equal to operator
|
|
equality test operator
|