Go to the documentation of this file.
6 namespace persistency {
17 size_t pos =
tag.rfind(
"[");
18 if (
pos != std::string::npos &&
tag.size() >=
pos + 2) {
24 return std::make_pair(
t, pfn);
114 throwException(
"Global Tag \"" + gtName +
"\" has not been found in the database.",
"GTProxy::load");
136 return m_data.get() ?
m_data->snapshotTime : boost::posix_time::ptime();
142 if (!
m_session->isTransactionActive(
false))
bool operator==(const Iterator &rhs) const
GTProxy & operator=(const GTProxy &rhs)
std::string fullyQualifiedTag(const std::string &tag, const std::string &connectionString)
void checkTransaction(const std::string &ctx)
GTProxy::GTContainer tagList
std::shared_ptr< GTProxyData > m_data
cond::Time_t validity() const
boost::posix_time::ptime snapshotTime
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
cond::GTEntry_t operator*()
unsigned long long Time_t
std::pair< std::string, std::string > parseTag(const std::string &tag)
void load(const std::string >Name, const std::string &preFix="", const std::string &postFix="")
bool operator!=(const Iterator &rhs) const
GTContainer::const_iterator m_current
void throwException(const std::string &message, const std::string &methodName)
boost::posix_time::ptime snapshotTime() const
Iterator & operator=(const Iterator &rhs)
std::vector< std::tuple< std::string, std::string, std::string > > GTContainer
std::shared_ptr< SessionImpl > m_session