29 #ifndef CASA_OBJECTID_H
30 #define CASA_OBJECTID_H
40 template<
class T>
class Block;
TableExprNode time(const TableExprNode &node)
ObjectID: A unique identifier for distributed and other objects.
ostream & operator<<(ostream &os, const std::pair< T, U > &p)
Bool fromString(String &error, const String &in)
It is useful to interconvert between strings and ObjecID's, e.g.
Int sequence() const
Ordinarily the user does not need to get at the exact state of the, ObjectID, however it is available...
const String & hostName() const
ObjectID(Bool makeNull=False)
If makeNull is True, make the null ObjectID, otherwise create a unique ObjectID.
Bool operator==(const ObjectID &other) const
Compare two ObjectID's for (in)equality.
bool Bool
Define the standard types used by Casacore.
uInt hashFunc(const ObjectID &)
Bool operator!=(const ObjectID &other) const
static Int sequence_number()
Make a unique sequence number, returns 0 on first call, 1 on next,...
Bool isNull() const
Is this ObjectID set?
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...
void toString(String &out) const
Note that out is zero'd before it is set.
String: the storage and methods of handling collections of characters.
ObjectID & operator=(const ObjectID &other)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.