rasdaman complete source
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MDDDomainType Class Reference

#include <mdddomaintype.hh>

Inheritance diagram for MDDDomainType:
MDDBaseType MDDType Type DBNamedObject DBObject

Public Member Functions

virtual char * getTypeStructure () const
 returns the structure of the type as a C string. More...
 
 MDDDomainType (const OId &id) throw (r_Error)
 
 MDDDomainType (const char *newTypeName, const BaseType *newBaseType, const r_Minterval &newDomain)
 
 MDDDomainType ()
 
 MDDDomainType (const MDDDomainType &old)
 
MDDDomainTypeoperator= (const MDDDomainType &old)
 
const r_MintervalgetDomain () const
 
virtual void print_status (ostream &s) const
 
virtual ~MDDDomainType ()
 
virtual void setPersistent (bool t) throw (r_Error)
 
virtual int compatibleWith (const Type *aType) const
 
virtual r_Bytes getMemorySize () const
 
- Public Member Functions inherited from MDDBaseType
 MDDBaseType (const OId &id) throw (r_Error)
 
 MDDBaseType (const char *newTypeName, const BaseType *newBaseType)
 
 MDDBaseType ()
 
 MDDBaseType (const char *newtypename)
 
 MDDBaseType (const MDDBaseType &old)
 
MDDBaseTypeoperator= (const MDDBaseType &old)
 
const BaseTypegetBaseType () const
 
virtual ~MDDBaseType ()
 
virtual int compatibleWithDomain (const r_Minterval *aDomain) const
 
- Public Member Functions inherited from MDDType
 MDDType (const OId &id) throw (r_Error)
 
 MDDType ()
 
 MDDType (const char *newTypeName)
 
 MDDType (const MDDType &old)
 
MDDTypeoperator= (const MDDType &old)
 
MDDType::MDDTypeEnum getSubtype () const
 
virtual ~MDDType ()
 
- 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...
 
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 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)
 
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
 

Protected Member Functions

virtual void insertInDb () throw (r_Error)
 
virtual void readFromDb () throw (r_Error)
 
virtual void deleteFromDb () throw (r_Error)
 
- 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 updateInDb () throw (r_Error)
 

Protected Attributes

DBMintervalmyDomain
 
- Protected Attributes inherited from MDDBaseType
const BaseTypemyBaseType
 
- Protected Attributes inherited from MDDType
MDDTypeEnum mySubclass
 
- 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
 

Additional Inherited Members

- Public Types inherited from MDDType
enum  MDDTypeEnum { MDDONLYTYPE, MDDBASETYPE, MDDDOMAINTYPE, MDDDIMENSIONTYPE }
 
- Static Public Attributes inherited from DBNamedObject
static short MAXNAMELENGTH
 
- Static Protected Attributes inherited from DBNamedObject
static const char * defaultName
 

Constructor & Destructor Documentation

MDDDomainType::MDDDomainType ( const OId id)
throw (r_Error
)
MDDDomainType::MDDDomainType ( const char *  newTypeName,
const BaseType newBaseType,
const r_Minterval newDomain 
)
MDDDomainType::MDDDomainType ( )
MDDDomainType::MDDDomainType ( const MDDDomainType old)
virtual MDDDomainType::~MDDDomainType ( )
virtual

Member Function Documentation

virtual int MDDDomainType::compatibleWith ( const Type aType) const
virtual

Reimplemented from MDDBaseType.

virtual void MDDDomainType::deleteFromDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from MDDBaseType.

const r_Minterval* MDDDomainType::getDomain ( ) const
virtual r_Bytes MDDDomainType::getMemorySize ( ) const
virtual

Reimplemented from MDDBaseType.

virtual char* MDDDomainType::getTypeStructure ( ) const
virtual

returns the structure of the type as a C string.

Reimplemented from MDDBaseType.

virtual void MDDDomainType::insertInDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from MDDBaseType.

MDDDomainType& MDDDomainType::operator= ( const MDDDomainType old)
virtual void MDDDomainType::print_status ( ostream &  s) const
virtual

Reimplemented from MDDBaseType.

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

Reimplemented from MDDBaseType.

virtual void MDDDomainType::setPersistent ( bool  t)
throw (r_Error
)
virtual

Reimplemented from DBObject.

Member Data Documentation

DBMinterval* MDDDomainType::myDomain
protected

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