rasdaman base DBMS
Public Member Functions | Protected Member Functions | List of all members
SetType Class Reference

#include <settype.hh>

Inheritance diagram for SetType:
CollectionType Type DBNamedObject DBObject

Public Member Functions

 SetType (const OId &id) throw (r_Error)
 
virtual char * getTypeStructure () const
 returns the structure of the type as a C string. More...
 
 SetType (const char *newTypeName, const MDDType *newMDDType)
 constructor receiving pointer to an MDDType (or subclass). More...
 
 SetType ()
 default constructor, cannot be used. More...
 
 SetType (const SetType &old)
 copy constructor. More...
 
SetTypeoperator= (const SetType &old)
 assignment operator. More...
 
virtual ~SetType ()
 virtual destructor. More...
 
- Public Member Functions inherited from CollectionType
const MDDTypegetMDDType () const
 
void print_status (ostream &s) const
 
 CollectionType (const MDDType *newMDDType)
 
 CollectionType ()
 
 CollectionType (const OId &id) throw (r_Error)
 
 CollectionType (const CollectionType &old)
 
CollectionTypeoperator= (const CollectionType &old)
 
virtual ~CollectionType ()
 
virtual int compatibleWith (const Type *aType) const
 
virtual r_Bytes getMemorySize () const
 
- 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)
 
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
 

Protected Member Functions

virtual void deleteFromDb () throw (r_Error)
 
virtual void insertInDb () throw (r_Error)
 
virtual void readFromDb () throw (r_Error)
 
- Protected Member Functions inherited from CollectionType
 CollectionType (const char *name)
 
 CollectionType (const char *name, const MDDType *newMDDType)
 
- 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)
 

Additional Inherited Members

- Static Public Attributes inherited from DBNamedObject
static short MAXNAMELENGTH
 
- Protected Attributes inherited from CollectionType
const MDDTypemyMDDType
 
- 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

SetType::SetType ( const OId id)
throw (r_Error
)
SetType::SetType ( const char *  newTypeName,
const MDDType newMDDType 
)

constructor receiving pointer to an MDDType (or subclass).

SetType::SetType ( )

default constructor, cannot be used.

SetType::SetType ( const SetType old)

copy constructor.

virtual SetType::~SetType ( )
virtual

virtual destructor.

Member Function Documentation

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

Reimplemented from DBObject.

virtual char* SetType::getTypeStructure ( ) const
virtual

returns the structure of the type as a C string.

Reimplemented from Type.

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

Reimplemented from DBObject.

SetType& SetType::operator= ( const SetType old)

assignment operator.

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

Reimplemented from DBObject.


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