Go to the documentation of this file. 1 #ifndef CondCore_CondDB_GTProxy_h
2 #define CondCore_CondDB_GTProxy_h
18 #include <boost/date_time/posix_time/posix_time.hpp>
22 namespace persistency {
34 typedef std::vector<std::tuple<std::string, std::string, std::string> >
GTContainer;
38 class Iterator :
public std::iterator<std::input_iterator_tag, cond::GTEntry_t> {
42 explicit Iterator(GTContainer::const_iterator current);
66 explicit GTProxy(
const std::shared_ptr<SessionImpl>& session);
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)
std::shared_ptr< GTProxyData > m_data
cond::Time_t validity() const
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
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