CMS 3D CMS Logo

Classes | Namespaces | Functions | Variables
OMSAccess.h File Reference
#include <string>
#include <stdexcept>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <memory>

Go to the source code of this file.

Classes

class  cond::OMSService
 
class  cond::OMSServiceQuery
 
class  cond::OMSServiceResult
 
class  cond::OMSServiceResultIterator
 
class  cond::OMSServiceResultRef
 

Namespaces

 cond
 
 cond::impl
 

Functions

template<typename T >
T cond::impl::from_string (const std::string &attributeValue)
 
template<>
std::string cond::impl::from_string (const std::string &attributeValue)
 
template<>
float cond::impl::from_string (const std::string &attributeValue)
 
template<>
int cond::impl::from_string (const std::string &attributeValue)
 
template<>
unsigned short cond::impl::from_string (const std::string &attributeValue)
 
template<>
boost::posix_time::ptime cond::impl::from_string (const std::string &attributeValue)
 
template<typename T , T fun>
T cond::impl::from_string_impl (const std::string &attributeValue, T zero)
 
float cond::impl::s_to_f (const std::string &val)
 
int cond::impl::s_to_i (const std::string &val)
 
boost::posix_time::ptime cond::impl::s_to_time (const std::string &val)
 
unsigned long cond::impl::s_to_ul (const std::string &val)
 
template<typename V >
std::string cond::impl::to_string (const V &value)
 
template<typename V >
std::string cond::impl::to_string (const V *value)
 
template<>
std::string cond::impl::to_string (const std::string &value)
 
template<>
std::string cond::impl::to_string (const char *value)
 
template<>
std::string cond::impl::to_string (const boost::posix_time::ptime &value)
 

Variables

static constexpr const char *const cond::impl::OMS_TIME_FMT = "%Y-%m-%dT%H:%M:%SZ"