#include <POOLCore/Guid.h>
Public Member Functions | |
Guid const & | fromBinary (std::string const &s) |
conversion from binary string representation More... | |
Guid const & | fromString (std::string const &s) |
conversion from formatted string representation More... | |
Guid () | |
Standard constructor (With initializaton) More... | |
Guid (bool usetime) | |
Standard constructor (With initialization) More... | |
Guid (char const *s, bool binary=false) | |
Constructor for Guid from char*. More... | |
Guid (std::string const &s, bool binary=false) | |
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 | toBinary () const |
conversion to binary string reprentation More... | |
std::string const | toString () const |
conversion to formatted string reprentation More... | |
Static Public Member Functions | |
static bool | isValidString (std::string const &s) |
Private Member Functions | |
void | init (bool usetime=false) |
initialize a new Guid More... | |
Private Attributes | |
uuid_t | data_ |
Encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number). Note: This class may not have a virual destructor
Simplified by Dan Riley for CMS to use standard libuuid functions
|
inline |
|
inlineexplicit |
|
inlineexplicit |
Constructor for Guid from char*.
Definition at line 33 of file Guid.h.
References fromBinary(), fromString(), and alignCSCRings::s.
|
inlineexplicit |
Constructor for Guid from string.
Definition at line 35 of file Guid.h.
References fromBinary(), fromString(), and alignCSCRings::s.
|
inline |
Guid const & edm::Guid::fromBinary | ( | std::string const & | s | ) |
conversion from binary string representation
Definition at line 32 of file Guid.cc.
References cms::cuda::assert(), data_, and edm::source().
Referenced by Guid().
Guid const & edm::Guid::fromString | ( | std::string const & | s | ) |
conversion from formatted string representation
Definition at line 45 of file Guid.cc.
References cms::cuda::assert(), data_, submitPVResolutionJobs::err, and edm::source().
Referenced by Guid().
|
private |
|
static |
Definition at line 51 of file Guid.cc.
References submitPVResolutionJobs::err, edm::source(), and createJobs::tmp.
Referenced by edm::isValidGlobalIdentifier().
|
inline |
Non-equality operator.
Definition at line 55 of file Guid.h.
References operator==().
bool edm::Guid::operator< | ( | Guid const & | g | ) | const |
Smaller operator.
Definition at line 57 of file Guid.cc.
Assignment operator.
Definition at line 39 of file Guid.h.
|
inline |
Equality operator.
Definition at line 48 of file Guid.h.
Referenced by operator!=().
std::string const edm::Guid::toBinary | ( | ) | const |
conversion to binary string reprentation
Definition at line 30 of file Guid.cc.
References data_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::createGlobalIdentifier().
std::string const edm::Guid::toString | ( | ) | const |
conversion to formatted string reprentation
Definition at line 38 of file Guid.cc.
References data_, MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::createGlobalIdentifier().
|
private |
Definition at line 70 of file Guid.h.
Referenced by fromBinary(), fromString(), init(), operator<(), operator=(), operator==(), toBinary(), and toString().