3 #ifndef __hds_db_object_hpp
4 #define __hds_db_object_hpp
9 #include <hds_db/base/defines.hpp>
23 typedef std::vector<std::string>
Names;
55 virtual std::string
name(
ErrCode *rc = NULL)
const = 0;
65 virtual ErrCode remove(
const std::string &
name) = 0;
virtual std::string name(ErrCode *rc=NULL) const =0
virtual OpenMode openMode() const
OpenMode
Definition: defines.hpp:32
virtual ErrCode open(const std::string &name, OpenMode mode)=0
virtual time_t creationTime(const std::string &name, ErrCode *rc=NULL) const =0
virtual bool exists(const std::string &name, ErrCode *rc=NULL) const
virtual size_t dataSize(const std::string &name, ErrCode *rc=NULL) const =0
ErrCode
Definition: defines.hpp:46
virtual ErrCode getList(Names &list) const =0
virtual time_t modificationTime(const std::string &name, ErrCode *rc=NULL) const =0
OpenMode m_cur_open_mode
Definition: object.hpp:98
virtual ErrCode flush()=0
virtual ErrCode close()=0
Definition: object.hpp:18
virtual ErrCode setName(const std::string &name_str)=0
std::vector< std::string > Names
Definition: object.hpp:23