Go to the documentation of this file.
11 #include <boost/ptr_container/ptr_list.hpp>
48 virtual bool isValid()
const {
return true; }
virtual void setClassName(std::string s)
std::map< std::string, LMFUnique * > m_foreignKeys
void setByID(int id) noexcept(false) override
virtual bool operator<=(const LMFUnique &r)
virtual std::string writeDBSql(Statement *stmt)
LMFUnique & setInt(std::string key, int value)
virtual std::string setByIDSql(Statement *stmt, int id)
virtual int writeDB() noexcept(false)
int getInt(std::string fieldname) const
virtual boost::ptr_list< LMFUnique > fetchAll() const noexcept(false)
oracle::occi::Statement * stmt
virtual int writeForeignKeys() noexcept(false)
std::map< std::string, int > m_intFields
virtual void dump() const
LMFUnique(oracle::occi::Environment *env, oracle::occi::Connection *conn)
oracle::occi::Connection * m_conn
virtual LMFUnique * createObject() const
virtual bool isValid() const
virtual void fetchParentIDs()
virtual std::string fetchIdSql(Statement *stmt)
int fetchID() noexcept(false) override
LMFUnique(EcalDBConnection *c)
std::string getClassName() const
void attach(std::string name, LMFUnique *u)
std::string getString(std::string fieldname) const
std::string getClassName()
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
oracle::occi::Statement Statement
std::map< std::string, std::string > m_stringFields
LMFUnique & setString(std::string key, std::string value)
oracle::occi::Environment * m_env
std::string sequencePostfix(const Tm &t)
virtual void getParameters(ResultSet *rset)
virtual std::string fetchAllSql(Statement *stmt) const
oracle::occi::ResultSet ResultSet