rasdaman complete source
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | List of all members
DBMDDSet Class Reference

#include <dbmddset.hh>

Inheritance diagram for DBMDDSet:
DBNamedObject DBObject

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)
 
DBMDDObjIdIternewIterator () 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 CollectionTypegetCollType () const
 
- Public Member Functions inherited from DBNamedObject
 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
 
DBNamedObjectoperator= (const DBNamedObject &old)
 
- Public Member Functions inherited from DBObject
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
 
DBObjectoperator= (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)
 
- Protected Member Functions inherited from DBNamedObject
void setName (const char *newname)
 
void setName (const short length, const char *data)
 
- Protected Member Functions inherited from DBObject
virtual void release ()
 

Additional Inherited Members

- Static Public Attributes inherited from DBNamedObject
static short MAXNAMELENGTH
 
- Protected Attributes inherited from DBNamedObject
char * myName
 
unsigned short myNameSize
 
- Protected Attributes inherited from DBObject
bool _isPersistent
 
bool _isInDatabase
 
bool _isModified
 
bool _isCached
 
OId myOId
 
OId::OIdType objecttype
 
int referenceCount
 
- Static Protected Attributes inherited from DBNamedObject
static const char * defaultName
 

Member Typedef Documentation

typedef std::set<DBMDDObjId, std::less<DBMDDObjId> > DBMDDSet::DBMDDObjIdSet
protected

Constructor & Destructor Documentation

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 DBMDDSet::~DBMDDSet ( )
virtual
DBMDDSet::DBMDDSet ( const OId id)
throw (r_Error
)
protected

Member Function Documentation

bool DBMDDSet::contains_element ( const DBMDDObjId elem) const
static bool DBMDDSet::deleteDBMDDSet ( const OId id)
static
static bool DBMDDSet::deleteDBMDDSet ( const char *  name)
static
virtual void DBMDDSet::deleteFromDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

void DBMDDSet::deleteName ( )
unsigned int DBMDDSet::getCardinality ( ) const
const CollectionType* DBMDDSet::getCollType ( ) const
static DBMDDSetId DBMDDSet::getDBMDDSet ( const char *  name)
throw (r_Error
)
static
static DBMDDSetId DBMDDSet::getDBMDDSet ( const OId id)
throw (r_Error
)
static
virtual r_Bytes DBMDDSet::getMemorySize ( ) const
virtual

Reimplemented from DBNamedObject.

void DBMDDSet::insert ( DBMDDObjId  newObj)
virtual void DBMDDSet::insertInDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

DBMDDObjIdIter* DBMDDSet::newIterator ( ) const
virtual void DBMDDSet::printStatus ( unsigned int  level = 0,
std::ostream &  stream = std::cout 
) const
virtual

Reimplemented from DBNamedObject.

virtual void DBMDDSet::readFromDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

void DBMDDSet::releaseAll ( )
void DBMDDSet::remove ( DBMDDObjId obj)
void DBMDDSet::removeAll ( )
virtual void DBMDDSet::setPersistent ( bool  state)
throw (r_Error
)
virtual

Reimplemented from DBObject.

virtual void DBMDDSet::updateInDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.


The documentation for this class was generated from the following file: