rasdaman base DBMS
|
#include <dbtile.hh>
Public Member Functions | |
virtual | ~DBTile () |
void | resize (r_Bytes newSize) |
virtual r_Bytes | getMemorySize () const |
virtual void | printStatus (unsigned int level=0, std::ostream &stream=std::cout) const |
void | setNoModificationData (char *data) const |
void | setNoModificationSize (r_Bytes newSize) const |
char * | getCells () |
get contents as array of chars for read access. More... | |
const char * | getCells () const |
get contents as array of chars for read access. More... | |
char | getCell (r_Bytes index) const |
get one char in the contents of the DBTile. More... | |
r_Data_Format | getDataFormat () const |
r_Data_Format | getCurrentFormat () const |
void | setDataFormat (const r_Data_Format &dataformat) |
void | setCurrentFormat (const r_Data_Format &dataformat) const |
r_Bytes | getSize () const |
get size of contents of DBTile in chars. More... | |
void | setCell (r_Bytes index, char newCell) |
change one char in the contents of the DBTile. More... | |
void | setCells (char *newCells) |
DBTile (r_Data_Format dataformat=r_Array) | |
DBTile (const OId &BlobId) throw (r_Error) | |
DBTile (r_Bytes newSize, char c=0, r_Data_Format dataformat=r_Array) | |
DBTile (r_Bytes newSize, r_Bytes patSize, const char *pat, r_Data_Format dataformat=r_Array) | |
DBTile (r_Bytes newSize, const char *newCells, r_Data_Format dataformat=r_Array) | |
![]() | |
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) | |
virtual void | setPersistent (bool newPersistent) 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 |
Protected Attributes | |
r_Bytes | size |
char * | cells |
r_Data_Format | dataFormat |
r_Data_Format | currentFormat |
![]() | |
bool | _isPersistent |
bool | _isInDatabase |
bool | _isModified |
bool | _isCached |
OId | myOId |
OId::OIdType | objecttype |
int | referenceCount |
Friends | |
std::ostream & | operator<< (std::ostream &stream, DBTile &b) |
Additional Inherited Members | |
![]() | |
virtual void | release () |
virtual void | readFromDb () throw (r_Error) |
virtual void | insertInDb () throw (r_Error) |
virtual void | deleteFromDb () throw (r_Error) |
virtual void | updateInDb () throw (r_Error) |
DBTile::DBTile | ( | r_Data_Format | dataformat = r_Array | ) |
DBTile::DBTile | ( | const OId & | BlobId | ) | |
throw | ( | r_Error | |||
) |
DBTile::DBTile | ( | r_Bytes | newSize, |
char | c = 0 , |
||
r_Data_Format | dataformat = r_Array |
||
) |
DBTile::DBTile | ( | r_Bytes | newSize, |
r_Bytes | patSize, | ||
const char * | pat, | ||
r_Data_Format | dataformat = r_Array |
||
) |
DBTile::DBTile | ( | r_Bytes | newSize, |
const char * | newCells, | ||
r_Data_Format | dataformat = r_Array |
||
) |
|
virtual |
char DBTile::getCell | ( | r_Bytes | index | ) | const |
get one char in the contents of the DBTile.
char* DBTile::getCells | ( | ) |
get contents as array of chars for read access.
const char* DBTile::getCells | ( | ) | const |
get contents as array of chars for read access.
r_Data_Format DBTile::getCurrentFormat | ( | ) | const |
r_Data_Format DBTile::getDataFormat | ( | ) | const |
|
virtual |
Reimplemented from DBObject.
r_Bytes DBTile::getSize | ( | ) | const |
get size of contents of DBTile in chars.
|
virtual |
Reimplemented from DBObject.
Reimplemented in InlineTile.
void DBTile::resize | ( | r_Bytes | newSize | ) |
void DBTile::setCell | ( | r_Bytes | index, |
char | newCell | ||
) |
change one char in the contents of the DBTile.
void DBTile::setCells | ( | char * | newCells | ) |
void DBTile::setCurrentFormat | ( | const r_Data_Format & | dataformat | ) | const |
void DBTile::setDataFormat | ( | const r_Data_Format & | dataformat | ) |
void DBTile::setNoModificationData | ( | char * | data | ) | const |
void DBTile::setNoModificationSize | ( | r_Bytes | newSize | ) | const |
|
friend |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |