src
FWCore
Utilities
src
GlobalIdentifier.cc
Go to the documentation of this file.
1
#include "
FWCore/Utilities/interface/GlobalIdentifier.h
"
2
#include "
FWCore/Utilities/interface/Guid.h
"
3
4
namespace
edm
{
5
std::string
createGlobalIdentifier
(
bool
binary) {
6
Guid
guid;
7
return
binary ? guid.
toBinary
() : guid.
toString
();
8
}
9
10
bool
isValidGlobalIdentifier
(
std::string
const
& guid) {
return
Guid::isValidString
(guid); }
11
}
// namespace edm
GlobalIdentifier.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Guid.h
edm::Guid
Definition:
Guid.h:26
edm::Guid::toBinary
std::string const toBinary() const
conversion to binary string reprentation
Definition:
Guid.cc:30
edm::createGlobalIdentifier
std::string createGlobalIdentifier(bool binary=false)
Definition:
GlobalIdentifier.cc:5
edm::Guid::toString
std::string const toString() const
conversion to formatted string reprentation
Definition:
Guid.cc:38
edm::isValidGlobalIdentifier
bool isValidGlobalIdentifier(std::string const &guid)
Definition:
GlobalIdentifier.cc:10
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::Guid::isValidString
static bool isValidString(std::string const &s)
Definition:
Guid.cc:51
Generated for CMSSW Reference Manual by
1.8.14