#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 (Guid const &c) | |
Copy constructor. More... | |
Guid (std::string const &s, bool binary=false) | |
Constructor for Guid from string. 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... | |
const std::string | toBinary () const |
conversion to binary string reprentation More... | |
const std::string | toString () const |
conversion to formatted string reprentation More... | |
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 | ) |
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 |
|
inline |
bool edm::Guid::operator< | ( | Guid const & | g | ) | const |
|
inline |
const std::string 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().
const std::string 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 68 of file Guid.h.
Referenced by fromBinary(), fromString(), init(), operator<(), operator=(), operator==(), toBinary(), and toString().