 |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef OFFLINE_V5_POOL_GUID_H
12 #define OFFLINE_V5_POOL_GUID_H
44 explicit Guid(
bool assign) {
if ( assign )
create(*
this); }
57 for (
size_t i = 0;
i < 8;
i++) {
68 if (
Data1 !=
g.Data1 )
return false;
69 if (
Data2 !=
g.Data2 )
return false;
70 if (
Data3 !=
g.Data3 )
return false;
84 static const Guid&
null();
89 #endif // OFFLINE_V5_POOL_GUID_H
bool operator!=(const Guid &g) const
Non-equality operator.
bool operator<(const Guid &g) const
Smaller operator.
Guid & operator=(const Guid &g)
Assignment operator.
const std::string toString() const
Automatic conversion from string reprentation.
static void create(Guid &guid)
Create a new Guid.
Guid()
Standard constructor (No initialization of data for performance reasons)
Guid(const char *s)
Constructor for Guid from char*.
const Guid & fromString(const std::string &s)
Automatic conversion to string representation.
Guid(bool assign)
Standard constructor (With possible initialization)
Guid(const std::string &s)
Constructor for Guid from string.
Guid(const Guid &c)
Copy constructor.
bool operator==(const Guid &g) const
Equality operator.