rasdaman base DBMS
Public Member Functions | Protected Member Functions | List of all members
DBMDDObj Class Reference

#include <dbmddobj.hh>

Inheritance diagram for DBMDDObj:
DBObject

Public Member Functions

 DBMDDObj (const MDDBaseType *type, const r_Minterval &domain, const DBObjectId &i, const DBStorageLayoutId &s, const OId &theMDDObj) throw (r_Error)
 
 DBMDDObj (const MDDBaseType *newMDDType, const r_Minterval &domain, const DBObjectId &newObjIx, const DBStorageLayoutId &newSL)
 
const MDDBaseTypegetMDDBaseType () const
 
DBStorageLayoutId getDBStorageLayout () const
 
const char * getCellTypeName () const
 
const BaseTypegetCellType () const
 
r_Dimension dimensionality () const
 
r_Minterval getDefinitionDomain () const
 
r_Bytes getHeaderSize () const
 
virtual void printStatus (unsigned int level=0, std::ostream &stream=cout) const
 
void setIx (const DBObjectId &newObjIx)
 
DBObjectId getDBIndexDS () const
 
 DBMDDObj (const DBMDDObj &old)
 
virtual ~DBMDDObj ()
 
virtual void setPersistent (bool t=true) throw (r_Error)
 
virtual void setCached (bool ic)
 
void incrementPersRefCount ()
 
void decrementPersRefCount ()
 
int getPersRefCount () const
 
virtual r_Bytes getMemorySize () const
 
- 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 r_Bytes getTotalStorageSize () const
 
virtual BinaryRepresentation getBinaryRepresentation () const throw (r_Error)
 
virtual void setBinaryRepresentation (const BinaryRepresentation &) throw (r_Error)
 
virtual char * getBinaryName () const
 

Protected Member Functions

 DBMDDObj (const OId &id) throw (r_Error)
 
virtual void insertInDb () throw (r_Error)
 
virtual void deleteFromDb () throw (r_Error)
 
virtual void readFromDb () throw (r_Error)
 
virtual void updateInDb () throw (r_Error)
 
- Protected Member Functions inherited from DBObject
virtual void release ()
 

Additional Inherited Members

- Protected Attributes inherited from DBObject
bool _isPersistent
 
bool _isInDatabase
 
bool _isModified
 
bool _isCached
 
OId myOId
 
OId::OIdType objecttype
 
int referenceCount
 

Constructor & Destructor Documentation

DBMDDObj::DBMDDObj ( const MDDBaseType type,
const r_Minterval &  domain,
const DBObjectId i,
const DBStorageLayoutId s,
const OId theMDDObj 
)
throw (r_Error
)
DBMDDObj::DBMDDObj ( const MDDBaseType newMDDType,
const r_Minterval &  domain,
const DBObjectId newObjIx,
const DBStorageLayoutId newSL 
)
DBMDDObj::DBMDDObj ( const DBMDDObj old)
virtual DBMDDObj::~DBMDDObj ( )
virtual
DBMDDObj::DBMDDObj ( const OId id)
throw (r_Error
)
protected

Member Function Documentation

void DBMDDObj::decrementPersRefCount ( )
virtual void DBMDDObj::deleteFromDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

r_Dimension DBMDDObj::dimensionality ( ) const
const BaseType* DBMDDObj::getCellType ( ) const
const char* DBMDDObj::getCellTypeName ( ) const
DBObjectId DBMDDObj::getDBIndexDS ( ) const
DBStorageLayoutId DBMDDObj::getDBStorageLayout ( ) const
r_Minterval DBMDDObj::getDefinitionDomain ( ) const
r_Bytes DBMDDObj::getHeaderSize ( ) const
const MDDBaseType* DBMDDObj::getMDDBaseType ( ) const
virtual r_Bytes DBMDDObj::getMemorySize ( ) const
virtual

Reimplemented from DBObject.

int DBMDDObj::getPersRefCount ( ) const
void DBMDDObj::incrementPersRefCount ( )
virtual void DBMDDObj::insertInDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

virtual void DBMDDObj::printStatus ( unsigned int  level = 0,
std::ostream &  stream = cout 
) const
virtual

Reimplemented from DBObject.

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

Reimplemented from DBObject.

virtual void DBMDDObj::setCached ( bool  ic)
virtual

Reimplemented from DBObject.

void DBMDDObj::setIx ( const DBObjectId newObjIx)
virtual void DBMDDObj::setPersistent ( bool  t = true)
throw (r_Error
)
virtual

Reimplemented from DBObject.

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

Reimplemented from DBObject.


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