Commit 9bbaa097 authored by lw's avatar lw

*** empty log message ***

parent 604dc1aa
......@@ -28,6 +28,7 @@ wb_orepdbs::~wb_orepdbs()
{
}
#endif
/*
wb_orepdbs *wb_orepdbs::ref()
{
......@@ -195,3 +196,19 @@ wb_adrep *wb_orepdbs::attribute(pwr_tStatus *sts, const char *name)
{
return 0;//m_vrep->attribute(sts, cid(), name);
}
wb_position
wb_orepdbs::position()
{
wb_position pos;
return pos;
}
wb_position
wb_orepdbs::position(ldh_eDest dest)
{
wb_position pos;
return pos;
}
......@@ -19,10 +19,8 @@ class wb_orepdbs : public wb_orep
public:
wb_orepdbs(int oid);
wb_orepdbs(dbs_sObject *o);
~wb_orepdbs();
//~wb_orepdbs();
void* operator new(size_t size, wb_vrepdbs *v);
void operator delete(void *p, wb_vrepdbs *v);
......
......@@ -29,6 +29,7 @@ wb_vrepdbs::dbsenv()
if (!m_isDbsenvLoaded) {
ep = dbs_Map(&sts, &m_dbsenv, m_fileName);
if (!ep) {
throw wb_error(sts);
}
m_isDbsenvLoaded = true;
} else {
......
......@@ -27,76 +27,76 @@ public:
void objectName(wb_orep *o, char *str) const;
virtual void unref();
virtual wb_vrep *ref();
/*virtual*/ void unref();
/*virtual*/ wb_vrep *ref();
virtual wb_erep *erep() const;
/*virtual*/ wb_erep *erep() const;
virtual wb_orep *object(pwr_tStatus *sts, pwr_tOid oid);
virtual wb_orep *object(pwr_tStatus *sts, char *name);
virtual wb_orep *object(pwr_tStatus *sts, wb_orep *parent, wb_name name);
/*virtual*/ wb_orep *object(pwr_tStatus *sts, pwr_tOid oid);
/*virtual*/ wb_orep *object(pwr_tStatus *sts, char *name);
/*virtual*/ wb_orep *object(pwr_tStatus *sts, wb_orep *parent, wb_name name);
virtual wb_orep *createObject(pwr_tStatus *sts, wb_cdef cdef, wb_destination d, wb_name name);
/*virtual*/ wb_orep *createObject(pwr_tStatus *sts, wb_cdef cdef, wb_destination d, wb_name name);
virtual wb_orep *copyObject(pwr_tStatus *sts, wb_orep *orep, wb_destination d, wb_name name);
virtual bool copyOset(pwr_tStatus *sts, wb_oset *oset, wb_destination d);
/*virtual*/ wb_orep *copyObject(pwr_tStatus *sts, wb_orep *orep, wb_destination d, wb_name name);
/*virtual*/ bool copyOset(pwr_tStatus *sts, wb_oset *oset, wb_destination d);
virtual bool moveObject(pwr_tStatus *sts, wb_orep *orep, wb_destination d);
/*virtual*/ bool moveObject(pwr_tStatus *sts, wb_orep *orep, wb_destination d);
virtual bool deleteObject(pwr_tStatus *sts, wb_orep *orep);
virtual bool deleteFamily(pwr_tStatus *sts, wb_orep *orep);
virtual bool deleteOset(pwr_tStatus *sts, wb_oset *oset);
/*virtual*/ bool deleteObject(pwr_tStatus *sts, wb_orep *orep);
/*virtual*/ bool deleteFamily(pwr_tStatus *sts, wb_orep *orep);
/*virtual*/ bool deleteOset(pwr_tStatus *sts, wb_oset *oset);
virtual bool renameObject(pwr_tStatus *sts, wb_orep *orep, wb_name name);
/*virtual*/ bool renameObject(pwr_tStatus *sts, wb_orep *orep, wb_name name);
virtual bool commit(pwr_tStatus *sts);
virtual bool abort(pwr_tStatus *sts);
/*virtual*/ bool commit(pwr_tStatus *sts);
/*virtual*/ bool abort(pwr_tStatus *sts);
virtual bool writeAttribute();
/*virtual*/ bool writeAttribute();
virtual bool readAttribute(wb_orep *o, pwr_tOix bix, unsigned int offset, unsigned int size);
/*virtual*/ bool readAttribute(wb_orep *o, pwr_tOix bix, unsigned int offset, unsigned int size);
virtual bool readBody();
/*virtual*/ bool readBody();
virtual bool writeBody();
/*virtual*/ bool writeBody();
virtual wb_orep *ancestor(pwr_tStatus *sts, wb_orep *o);
/*virtual*/ wb_orep *ancestor(pwr_tStatus *sts, wb_orep *o);
virtual wb_orep *parent(pwr_tStatus *sts, wb_orep *o);
/*virtual*/ wb_orep *parent(pwr_tStatus *sts, wb_orep *o);
virtual wb_orep *after(pwr_tStatus *sts, wb_orep *o);
/*virtual*/ wb_orep *after(pwr_tStatus *sts, wb_orep *o);
virtual wb_orep *before(pwr_tStatus *sts, wb_orep *o);
/*virtual*/ wb_orep *before(pwr_tStatus *sts, wb_orep *o);
virtual wb_orep *first(pwr_tStatus *sts, wb_orep *o);
/*virtual*/ wb_orep *first(pwr_tStatus *sts, wb_orep *o);
virtual wb_orep *child(pwr_tStatus *sts, wb_orep *o, char *name);
/*virtual*/ wb_orep *child(pwr_tStatus *sts, wb_orep *o, char *name);
virtual wb_orep *last(pwr_tStatus *sts, wb_orep *o);
/*virtual*/ wb_orep *last(pwr_tStatus *sts, wb_orep *o);
virtual wb_orep *next(pwr_tStatus *sts, wb_orep *o);
/*virtual*/ wb_orep *next(pwr_tStatus *sts, wb_orep *o);
virtual wb_orep *previous(pwr_tStatus *sts, wb_orep *o);
/*virtual*/ wb_orep *previous(pwr_tStatus *sts, wb_orep *o);
virtual wb_srep *newSession();
/*virtual*/ wb_srep *newSession();
virtual pwr_tVid vid() const;
/*virtual*/ pwr_tVid vid() const;
wb_orepdbs *new_wb_orepdbs(size_t size);
void delete_wb_orepdbs(void *p);
virtual wb_vrep *next () const;
virtual wb_orep *object (pwr_tStatus *);
virtual bool isLocal (wb_orep *) const;
virtual pwr_tCid cid () const;
virtual wb_merep *merep () const;
virtual bool createSnapshot (char *);
virtual void iterObject (wb_dbs *);
virtual void iterRbody (wb_dbs *);
virtual void iterDbody (wb_dbs *);
/*virtual*/ wb_vrep *next () const;
/*virtual*/ wb_orep *object (pwr_tStatus *);
/*virtual*/ bool isLocal (wb_orep *) const;
/*virtual*/ pwr_tCid cid () const;
/*virtual*/ wb_merep *merep () const;
/*virtual*/ bool createSnapshot (char *);
/*virtual*/ void iterObject (wb_dbs *);
/*virtual*/ void iterRbody (wb_dbs *);
/*virtual*/ void iterDbody (wb_dbs *);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment