rasdaman base DBMS
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
DBNamedObject Class Reference

#include <dbnamedobject.hh>

Inheritance diagram for DBNamedObject:
DBObject DBMDDSet Type BaseType CollectionType MDDType AtomicType CompositeType SetType MDDBaseType GenericComplexType IntegralType RealType UIntegralType StructType MDDDimensionType MDDDomainType ComplexType1 ComplexType2 LongType OctetType ShortType DoubleType FloatType BoolType CharType ULongType UShortType

Public Member Functions

 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)
 
virtual r_Bytes getMemorySize () const
 
virtual void printStatus (unsigned int level=0, std::ostream &stream=std::cout) 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)
 
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
 
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 Attributes

static short MAXNAMELENGTH
 

Protected Member Functions

void setName (const char *newname)
 
void setName (const short length, const char *data)
 
- Protected Member Functions inherited from DBObject
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)
 

Protected Attributes

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

static const char * defaultName
 

Constructor & Destructor Documentation

DBNamedObject::DBNamedObject ( )
DBNamedObject::DBNamedObject ( const OId id)
throw (r_Error
)
DBNamedObject::DBNamedObject ( const DBNamedObject old)
DBNamedObject::DBNamedObject ( const char *  name)
DBNamedObject::DBNamedObject ( const OId id,
const char *  name 
)
virtual DBNamedObject::~DBNamedObject ( )
virtual

Member Function Documentation

virtual r_Bytes DBNamedObject::getMemorySize ( ) const
virtual
const char* DBNamedObject::getName ( ) const
DBNamedObject& DBNamedObject::operator= ( const DBNamedObject old)
virtual void DBNamedObject::printStatus ( unsigned int  level = 0,
std::ostream &  stream = std::cout 
) const
virtual

Reimplemented from DBObject.

Reimplemented in DBMDDSet.

void DBNamedObject::setName ( const char *  newname)
protected
void DBNamedObject::setName ( const short  length,
const char *  data 
)
protected

Member Data Documentation

const char* DBNamedObject::defaultName
staticprotected
short DBNamedObject::MAXNAMELENGTH
static
char* DBNamedObject::myName
protected
unsigned short DBNamedObject::myNameSize
protected

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