27#ifndef CASA_OBJECTID_H
28#define CASA_OBJECTID_H
31#include <casacore/casa/aips.h>
32#include <casacore/casa/BasicSL/String.h>
33#include <casacore/casa/iosfwd.h>
38template<
class T>
class Block;
ObjectID & operator=(const ObjectID &other)
const String & hostName() const
static String extractIDs(Block< ObjectID > &objectIDs, const String &command)
Extract objectID strings (as set by glish script substitute.g) from a command, convert them to Object...
static Int sequence_number()
Make a unique sequence number, returns 0 on first call, 1 on next,...
Bool isNull() const
Is this ObjectID set?
ObjectID(Bool makeNull=False)
If makeNull is True, make the null ObjectID, otherwise create a unique ObjectID.
Bool fromString(String &error, const String &in)
It is useful to interconvert between strings and ObjecID's, e.g.
ObjectID(const ObjectID &other)
Copy other.
ObjectID(Int sequence, Int pid, Int time, const String &hostname)
Create explicitly from the provided constituents.
void toString(String &out) const
Note that out is zero'd before it is set.
Int sequence() const
Ordinarily the user does not need to get at the exact state of the, ObjectID, however it is available...
Bool operator!=(const ObjectID &other) const
Bool operator==(const ObjectID &other) const
Compare two ObjectID's for (in)equality.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
TableExprNode time(const TableExprNode &node)
uInt hashFunc(const ObjectID &)
bool Bool
Define the standard types used by Casacore.