11 #include <boost/ptr_container/ptr_list.hpp>
31 oracle::occi::Connection*
conn) {
46 virtual bool isValid()
const {
return true; }
66 virtual
void dump(
int n) const ;
71 virtual boost::ptr_list<LMFUnique>
fetchAll()
const
72 throw (std::runtime_error);
75 return (
m_ID < r.m_ID);
88 int id) {
return ""; }
LMFUnique & setInt(std::string key, int value)
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
std::string sequencePostfix(const Tm &t)
oracle::occi::ResultSet ResultSet
virtual void setClassName(std::string s)
virtual LMFUnique * createObject() const
virtual void dump() const
oracle::occi::Environment * getEnv() const
virtual std::string setByIDSql(Statement *stmt, int id)
oracle::occi::Connection * getConn() const
virtual int writeForeignKeys()
int getInt(std::string fieldname) const
virtual std::string writeDBSql(Statement *stmt)
std::map< std::string, std::string > m_stringFields
oracle::occi::Statement Statement
virtual bool operator<=(const LMFUnique &r)
LMFUnique(EcalDBConnection *c)
LMFUnique(oracle::occi::Environment *env, oracle::occi::Connection *conn)
std::map< std::string, LMFUnique * > m_foreignKeys
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
LMFUnique & setString(std::string key, std::string value)
std::string getClassName() const
virtual boost::ptr_list< LMFUnique > fetchAll() const
virtual std::string fetchIdSql(Statement *stmt)
oracle::occi::ResultSet ResultSet
virtual bool isValid() const
virtual std::string fetchAllSql(Statement *stmt) const
oracle::occi::Statement * stmt
std::string getString(std::string fieldname) const
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
virtual void fetchParentIDs()
std::string getClassName()
void attach(std::string name, LMFUnique *u)
virtual void getParameters(ResultSet *rset)
std::map< std::string, int > m_intFields