#include <cel_dsarray.h>
Public Member Functions | |
virtual bool | isValid () const =0 |
virtual size_t | getSize () const =0 |
virtual u16 | getTag () const =0 |
virtual void | setTag (u16 tag)=0 |
virtual u16 | getType () const =0 |
virtual void | setType (u16 type)=0 |
virtual const void * | getVoidPtr () const =0 |
virtual size_t | getAsInt (size_t inIndex) const |
virtual double | getAsDouble (size_t inIndex) const |
virtual TIFF_RATIONAL | getAsRational (size_t inIndex) const |
Public Member Functions inherited from Celartem::Serializable | |
virtual void | serialize (Stream *inStream, size_t inLevel=0, Endian inEndian=endianBig)=0 |
virtual AutoPtr< Serializable > | duplicate () const =0 |
const Guid & | getClassId () const |
String | getClassName () const |
Public Member Functions inherited from Celartem::Referable | |
Referable () | |
void | addRef () const |
void | releaseRef () const |
size_t | getReferenceCount () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Celartem::Referable | |
static void | dumpDbgAllRefCount () |
This class defines the basic methods that can be used with any DataArray variations. This class is an abstract class and you should use DataArray.
|
virtual |
This method returns an entry in the array as double value. If the type of the array is not compatible with double type, this method throws errTypeMismatch.
inIndex | The index of the array element. |
|
virtual |
This method returns an entry in the array as size_t
value. If the type of the array is not compatible with integral types, this method throws errTypeMismatch.
inIndex | The index of the array element. |
|
virtual |
This method returns an entry in the array as TIFF_RATIONAL value. If the type of the array is not compatible with TIFF_RATIONAL type, this method throws errTypeMismatch.
inIndex | The index of the array element. |
|
pure virtual |
This method returns the size of array in number of entries.
Implemented in Celartem::DataArray< T >.
|
pure virtual |
This method is for compatibility with TIFF 6.0 Specification.
Implemented in Celartem::DataArray< T >.
|
pure virtual |
This method is for compatibility with TIFF 6.0 Specification.
Implemented in Celartem::DataArray< T >.
|
pure virtual |
This method returns const
void
pointer to the internal data.
Implemented in Celartem::DataArray< T >.
|
pure virtual |
This method checks whether the array is valid or not.
true
if the array is valid, otherwise false
. Implemented in Celartem::DataArray< T >.
|
pure virtual |
This method is for compatibility with TIFF 6.0 Specification.
Implemented in Celartem::DataArray< T >.
|
pure virtual |
This method is for compatibility with TIFF 6.0 Specification.
Implemented in Celartem::DataArray< T >.