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

#include <shorttype.hh>

Inheritance diagram for ShortType:
IntegralType AtomicType BaseType Type DBNamedObject DBObject

Public Member Functions

 ShortType (const OId &id) throw (r_Error)
 
 ShortType ()
 
 ShortType (const ShortType &old)
 
ShortTypeoperator= (const ShortType &old)
 
virtual ~ShortType ()
 
virtual void printCell (ostream &stream, const char *cell) const
 
virtual r_Long * convertToCLong (const char *cell, r_Long *value) const
 
virtual char * makeFromCLong (char *cell, const r_Long *value) const
 
- Public Member Functions inherited from IntegralType
 IntegralType (unsigned int newSize)
 
 IntegralType (const IntegralType &old)
 
 IntegralType (const OId &id) throw (r_Error)
 
virtual ~IntegralType ()
 
virtual r_ULong * convertToCULong (const char *, r_ULong *) const
 
virtual char * makeFromCULong (char *, const r_ULong *) const
 
virtual double * convertToCDouble (const char *, double *) const
 
virtual char * makeFromCDouble (char *, const double *) const
 
- Public Member Functions inherited from AtomicType
virtual unsigned int getSize () const
 
 AtomicType (unsigned int newSize)
 
 AtomicType (const AtomicType &old)
 
 AtomicType (const OId &id) throw (r_Error)
 
AtomicTypeoperator= (const AtomicType &old)
 
virtual ~AtomicType ()
 
- Public Member Functions inherited from BaseType
 BaseType ()
 
 BaseType (const OId &id) throw (r_Error)
 
 BaseType (const BaseType &old)
 
BaseTypeoperator= (const BaseType &old)
 
virtual ~BaseType ()
 
virtual int compatibleWith (const Type *aType) const
 
virtual CondenseOp * getCondenseOp (Ops::OpType op) const
 get function object for condense operation. More...
 
virtual UnaryOp * getUnaryOp (Ops::OpType op, const BaseType *optype) const
 get function object for unary operation. More...
 
virtual BinaryOp * getBinaryOp (Ops::OpType op, const BaseType *op1type, const BaseType *op2type) const
 get function object for binary operation. More...
 
- Public Member Functions inherited from Type
virtual void destroy ()
 
virtual const char * getTypeName () const
 returns the name of the type as a C string. More...
 
virtual char * getTypeStructure () const
 returns the structure of the type as a C string. More...
 
const TypeEnum getType () const
 
 Type ()
 
 Type (const OId &id) throw (r_Error)
 
 Type (const Type &old)
 
Typeoperator= (const Type &old)
 
virtual ~Type ()
 
- 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)
 
virtual r_Bytes getMemorySize () const
 
virtual void printStatus (unsigned int level=0, std::ostream &stream=std::cout) const
 
- Public Member Functions inherited from DBObject
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 const char * Name
 
- Static Public Attributes inherited from DBNamedObject
static short MAXNAMELENGTH
 

Protected Member Functions

virtual void readFromDb () throw (r_Error)
 
- Protected Member Functions inherited from IntegralType
 IntegralType (const char *name, unsigned int newSize)
 
- Protected Member Functions inherited from AtomicType
 AtomicType (const char *name, unsigned int newSize)
 
- Protected Member Functions inherited from BaseType
 BaseType (const char *name)
 
- Protected Member Functions inherited from Type
 Type (const char *name)
 
- 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 ()
 
virtual void insertInDb () throw (r_Error)
 
virtual void deleteFromDb () throw (r_Error)
 
virtual void updateInDb () throw (r_Error)
 

Additional Inherited Members

- Protected Attributes inherited from AtomicType
unsigned int size
 
- Protected Attributes inherited from Type
TypeEnum myType
 
- 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
 

Constructor & Destructor Documentation

ShortType::ShortType ( const OId id)
throw (r_Error
)
ShortType::ShortType ( )
ShortType::ShortType ( const ShortType old)
virtual ShortType::~ShortType ( )
virtual

Member Function Documentation

virtual r_Long* ShortType::convertToCLong ( const char *  cell,
r_Long *  value 
) const
virtual

Implements BaseType.

virtual char* ShortType::makeFromCLong ( char *  cell,
const r_Long *  value 
) const
virtual

Implements BaseType.

ShortType& ShortType::operator= ( const ShortType old)
virtual void ShortType::printCell ( ostream &  stream,
const char *  cell 
) const
virtual

Implements BaseType.

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

Reimplemented from DBObject.

Member Data Documentation

const char* ShortType::Name
static

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