#include <POOLCore/Guid.h>
Public Member Functions | |
Guid const & | fromString (std::string const &s) |
Automatic conversion to string representation. More... | |
Guid () | |
Standard constructor (With initializaton) More... | |
Guid (bool) | |
Standard constructor (With initialization) More... | |
Guid (char const *s) | |
Constructor for Guid from char*. More... | |
Guid (std::string const &s) | |
Constructor for Guid from string. More... | |
Guid (Guid const &c) | |
Copy constructor. More... | |
bool | operator!= (Guid const &g) const |
Non-equality operator. More... | |
bool | operator< (Guid const &g) const |
Smaller operator. More... | |
Guid & | operator= (Guid const &g) |
Assignment operator. More... | |
bool | operator== (Guid const &g) const |
Equality operator. More... | |
std::string const | toString () const |
Automatic conversion from string reprentation. More... | |
Public Attributes | |
unsigned int | Data1 |
unsigned short | Data2 |
unsigned short | Data3 |
unsigned char | Data4 [8] |
Private Member Functions | |
void | init () |
initialize a new Guid More... | |
Encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number). Note: This class may not have a virual destructor
|
inline |
|
inlineexplicit |
|
inlineexplicit |
Constructor for Guid from char*.
Definition at line 35 of file Guid.h.
References fromString().
|
inlineexplicit |
Constructor for Guid from string.
Definition at line 37 of file Guid.h.
References fromString().
|
inline |
Guid const & edm::Guid::fromString | ( | std::string const & | s | ) |
Automatic conversion to string representation.
Definition at line 52 of file Guid.cc.
References assert(), Data1, Data2, Data3, Data4, fireworks::iSize, and hltrates_dqm_sourceclient-live_cfg::offset.
Referenced by Guid().
|
private |
|
inline |
Non-equality operator.
Definition at line 68 of file Guid.h.
References operator==().
bool edm::Guid::operator< | ( | Guid const & | g | ) | const |
Smaller operator.
Definition at line 88 of file Guid.cc.
References Data1.
Assignment operator.
Definition at line 41 of file Guid.h.
References compareJSON::const, Data1, Data2, Data3, Data4, AlCaHLTBitMon_ParallelJobs::p, and lumiQueryAPI::q.
|
inline |
Equality operator.
Definition at line 56 of file Guid.h.
References compareJSON::const, Data1, Data2, Data3, Data4, AlCaHLTBitMon_ParallelJobs::p, and lumiQueryAPI::q.
Referenced by operator!=().
std::string const edm::Guid::toString | ( | ) | const |
Automatic conversion from string reprentation.
Definition at line 41 of file Guid.cc.
References edm::bufSize, Data1, Data2, Data3, Data4, edm::fmt_Guid, and runonSM::text.
Referenced by edm::createGlobalIdentifier().
unsigned int edm::Guid::Data1 |
Definition at line 25 of file Guid.h.
Referenced by fromString(), init(), operator<(), operator=(), operator==(), and toString().
unsigned short edm::Guid::Data2 |
Definition at line 26 of file Guid.h.
Referenced by fromString(), init(), operator=(), operator==(), and toString().
unsigned short edm::Guid::Data3 |
Definition at line 27 of file Guid.h.
Referenced by fromString(), init(), operator=(), operator==(), and toString().
unsigned char edm::Guid::Data4[8] |
Definition at line 28 of file Guid.h.
Referenced by fromString(), init(), operator=(), operator==(), and toString().