3 #ifndef __hds_db_project_qsql_hpp
4 #define __hds_db_project_qsql_hpp
6 #include <QSqlDatabase>
8 #include <hds_db/base/project.hpp>
9 #include <hds_db/qsql/qsql_impl.hpp>
67 virtual size_t dataSize(
const std::string &name,
121 const std::string &project_name);
size_t get_seis_data_size(const std::string &name, ErrCode *rc) const
virtual ErrCode setName(const std::string &name_str)
OpenMode
Definition: defines.hpp:32
Definition: dbcontext_qsql.hpp:15
uint64_t DbIndex
Definition: defines.hpp:26
virtual ErrCode getList(Names &list) const
Definition: project_qsql.hpp:20
ErrCode
Definition: defines.hpp:46
ErrCode clear_seismics(const ContextQSql &dbc, const std::string &project_name)
virtual time_t creationTime(const std::string &name, ErrCode *rc=NULL) const
virtual ErrCode open(const std::string &name, OpenMode mode)
virtual std::string name(ErrCode *rc=NULL) const
virtual ErrCode setCreator(const std::string &creator_str)
Definition: seismic_qsql.hpp:24
virtual size_t dataSize(const std::string &name, ErrCode *rc=NULL) const
Definition: project.hpp:16
static ErrCode name2id(QSqlDatabase &db, const std::string &name, DbIndex &id)
virtual time_t modificationTime(const std::string &name, ErrCode *rc=NULL) const
Definition: qsql_impl.hpp:19
virtual ErrCode setDescription(const std::string &descr_str)
ProjectQSql(const ContextQSql &dbc)
static ErrCode db_update_time_stamp(QSqlDatabase &db, const DbIndex &id)
virtual std::string description(ErrCode *rc=NULL) const
virtual std::string creator(ErrCode *rc=NULL) const
std::vector< std::string > Names
Definition: object.hpp:23
DbIndex m_cur_project_id
Definition: project_qsql.hpp:101