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

#include <type.hh>

Inheritance diagram for Type:
DBNamedObject DBObject 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

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
 
virtual int compatibleWith (const Type *aType) 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
 

Protected Member Functions

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

Protected Attributes

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

- Static Public Attributes inherited from DBNamedObject
static short MAXNAMELENGTH
 
- Static Protected Attributes inherited from DBNamedObject
static const char * defaultName
 

Constructor & Destructor Documentation

Type::Type ( )
Type::Type ( const OId id)
throw (r_Error
)
Type::Type ( const Type old)
virtual Type::~Type ( )
virtual
Type::Type ( const char *  name)
protected

Member Function Documentation

virtual int Type::compatibleWith ( const Type aType) const
virtual
virtual void Type::destroy ( )
virtual

Reimplemented from DBObject.

const TypeEnum Type::getType ( ) const
virtual const char* Type::getTypeName ( ) const
virtual

returns the name of the type as a C string.

Reimplemented in ComplexType2, and ComplexType1.

virtual char* Type::getTypeStructure ( ) const
virtual

returns the structure of the type as a C string.

Reimplemented in StructType, MDDType, MDDDomainType, SetType, MDDBaseType, and MDDDimensionType.

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

Member Data Documentation

TypeEnum Type::myType
protected

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