rasdaman complete source
|
#include <dbmddset.hh>
Public Member Functions | |
DBMDDSet (const char *name, const CollectionType *type) throw (r_Error) | |
DBMDDSet (const char *name, const OId &id, const CollectionType *type) throw (r_Error) | |
virtual void | printStatus (unsigned int level=0, std::ostream &stream=std::cout) const |
virtual void | setPersistent (bool state) throw (r_Error) |
void | insert (DBMDDObjId newObj) |
DBMDDObjIdIter * | newIterator () const |
unsigned int | getCardinality () const |
void | remove (DBMDDObjId &obj) |
void | removeAll () |
void | releaseAll () |
bool | contains_element (const DBMDDObjId &elem) const |
virtual | ~DBMDDSet () |
void | deleteName () |
virtual r_Bytes | getMemorySize () const |
const CollectionType * | getCollType () const |
![]() | |
DBNamedObject () | |
DBNamedObject (const OId &id) throw (r_Error) | |
DBNamedObject (const DBNamedObject &old) | |
DBNamedObject (const char *name) | |
DBNamedObject (const OId &id, const char *name) | |
virtual | ~DBNamedObject () |
const char * | getName () const |
DBNamedObject & | operator= (const DBNamedObject &old) |
![]() | |
virtual void | destroy (void) |
int | getReferenceCount (void) const |
void | incrementReferenceCount (void) |
void | decrementReferenceCount (void) |
virtual | ~DBObject () |
DBObject () | |
DBObject (const DBObject &old) | |
DBObject (const OId &id) throw (r_Error) | |
bool | isPersistent () const |
void | validate () throw (r_Error) |
virtual void | setModified () throw (r_Error) |
bool | isModified () const |
OId | getOId () const |
EOId | getEOId () const |
OId::OIdType | getObjectType () const |
DBObject & | operator= (const DBObject &old) |
bool | isCached () const |
virtual void | setCached (bool newCached) |
virtual r_Bytes | getTotalStorageSize () const |
virtual BinaryRepresentation | getBinaryRepresentation () const throw (r_Error) |
virtual void | setBinaryRepresentation (const BinaryRepresentation &) throw (r_Error) |
virtual char * | getBinaryName () const |
Static Public Member Functions | |
static DBMDDSetId | getDBMDDSet (const char *name) throw (r_Error) |
static DBMDDSetId | getDBMDDSet (const OId &id) throw (r_Error) |
static bool | deleteDBMDDSet (const OId &id) |
static bool | deleteDBMDDSet (const char *name) |
Protected Types | |
typedef std::set< DBMDDObjId, std::less< DBMDDObjId > > | DBMDDObjIdSet |
Protected Member Functions | |
DBMDDSet (const OId &id) throw (r_Error) | |
virtual void | updateInDb () throw (r_Error) |
virtual void | insertInDb () throw (r_Error) |
virtual void | readFromDb () throw (r_Error) |
virtual void | deleteFromDb () throw (r_Error) |
![]() | |
void | setName (const char *newname) |
void | setName (const short length, const char *data) |
![]() | |
virtual void | release () |
Additional Inherited Members | |
![]() | |
static short | MAXNAMELENGTH |
![]() | |
char * | myName |
unsigned short | myNameSize |
![]() | |
bool | _isPersistent |
bool | _isInDatabase |
bool | _isModified |
bool | _isCached |
OId | myOId |
OId::OIdType | objecttype |
int | referenceCount |
![]() | |
static const char * | defaultName |
|
protected |
DBMDDSet::DBMDDSet | ( | const char * | name, |
const CollectionType * | type | ||
) | |||
throw | ( | r_Error | |
) |
DBMDDSet::DBMDDSet | ( | const char * | name, |
const OId & | id, | ||
const CollectionType * | type | ||
) | |||
throw | ( | r_Error | |
) |
|
virtual |
bool DBMDDSet::contains_element | ( | const DBMDDObjId & | elem | ) | const |
|
static |
|
protectedvirtual |
Reimplemented from DBObject.
void DBMDDSet::deleteName | ( | ) |
unsigned int DBMDDSet::getCardinality | ( | ) | const |
const CollectionType* DBMDDSet::getCollType | ( | ) | const |
|
static |
|
static |
|
virtual |
Reimplemented from DBNamedObject.
void DBMDDSet::insert | ( | DBMDDObjId | newObj | ) |
|
protectedvirtual |
Reimplemented from DBObject.
DBMDDObjIdIter* DBMDDSet::newIterator | ( | ) | const |
|
virtual |
Reimplemented from DBNamedObject.
|
protectedvirtual |
Reimplemented from DBObject.
void DBMDDSet::releaseAll | ( | ) |
void DBMDDSet::remove | ( | DBMDDObjId & | obj | ) |
void DBMDDSet::removeAll | ( | ) |
Reimplemented from DBObject.
|
protectedvirtual |
Reimplemented from DBObject.