#include <container.h>
Public Member Functions | |
oid_t | getOid () const |
bool | isNull () const |
dbFieldDescriptor * | dbDescribeComponents (dbFieldDescriptor *fd) |
Protected Member Functions | |
void | create (dbDatabase *db, bool caseInsensitive=false, bool thick=false, bool unique=false) |
void | purge (dbDatabase *db) |
void | free (dbDatabase *db) |
bool | add (dbDatabase *db, dbAnyReference const &ref) |
void | remove (dbDatabase *db, dbAnyReference const &ref) |
int | search (dbAnyCursor &cursor, void const *from, void const *till, bool ascent=true) |
int | spatialSearch (dbAnyCursor &cursor, rectangle const &r, SpatialSearchType type) |
dbAnyContainer (char_t const *fieldName, dbTableDescriptor &desc) | |
Protected Attributes | |
dbFieldDescriptor * | fd |
oid_t | oid |
Friends | |
bool | isNull (dbAnyReference const &ref) |
Base class for all containers. Container are implemented using B-Tree or R-Tree
oid_t dbAnyReference::getOid | ( | ) | const [inline, inherited] |
Get object idetifier
Referenced by dbCursor< dbTimeSeriesBlock< T > >::isInSelection(), dbBlob::operator=(), dbCursor< dbTimeSeriesBlock< T > >::seek(), dbReference< Person >::unsafeAssign(), and dbSession::update().
bool dbAnyReference::isNull | ( | ) | const [inline, inherited] |
Check whether reference is null
bool isNull | ( | dbAnyReference const & | ref | ) | [friend, inherited] |
Check whether reference is null