 |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
virtual void r_deactivate()
it is called when an object leaves transient memory (internal use only)
r_Bytes get_array_size() const
get size of internal array representation in byets
r_Transaction * transaction
pointer to the transaction this object belongs to.
Definition: object.hh:232
This class abstracts away iteration over the cells of a (multi-band) array.
Definition: banditerator.hh:46
virtual void insert_obj_into_db()
inserts an object into the database
const r_Storage_Layout * get_storage_layout() const
gets a pointer to the storage layout object
r_Bytes get_type_length() const
get length of cell type in bytes
r_Cell_Linearization get_cell_linearization() const
virtual ~r_GMarray()
destructor
char * get_array()
get the internal representation of the array
r_Band_Linearization band_linearization
relevant if data has multiple bands (channels) of data
Definition: gmarray.hh:209
r_Set< r_GMarray * > * tiled_data
array internally sub-tiled
Definition: gmarray.hh:194
void set_band_linearization(r_Band_Linearization)
set band linearization to pixel-interleaved or channel-interleaved in case of multi-band array
r_Storage_Layout * storage_layout
pointer to storage layout object
Definition: gmarray.hh:206
const r_Base_Type * get_base_type_schema()
get base type schema
void set_array_size(r_Bytes)
set size of internal memory representation in bytes
size_t r_Bytes
number of bytes in an tile or mdd or type.
Definition: mddtypes.hh:43
r_Minterval domain
spatial domain
Definition: gmarray.hh:188
void set_cell_linearization(r_Cell_Linearization)
set cell linearization. Only ColumnMajor is supported currently.
This class is the superclass of the types r_Structure_Type and r_Primitive_Type in the representation...
Definition: basetype.hh:39
void set_array(char *)
set the internal representation of the array
const r_Minterval & spatial_domain() const
getting the spatial domain
r_Data_Format
\begin{tabular}{ll} <tt>r_Array</tt> && no compression, row-major memory representation\...
Definition: mddtypes.hh:93
void set_storage_layout(r_Storage_Layout *)
sets the storage layout object and checks compatibility with the domain
r_GMarray & operator=(const r_GMarray &)
assignment: cleanup + copy
r_Bytes data_size
size of internal array representation in bytes
Definition: gmarray.hh:197
@ r_Array
Definition: mddtypes.hh:95
Class r_Point represents an n-dimensional point vector.
Definition: point.hh:42
void set_spatial_domain(const r_Minterval &domain)
set spatial domain
r_Data_Format current_format
store current data format
Definition: gmarray.hh:203
Transactions can be started, committed, aborted, and checkpointed.
Definition: transaction.hh:49
virtual void print_status(std::ostream &s)
writes the state of the object to the specified stream
r_Set< r_GMarray * > * get_tiled_array()
get the internal representation of the array
@ PixelInterleaved
The components of each pixel are layed out one after another, e.g.
Through inheritance of this class, the type definer specifies that the subclass is capable of having ...
Definition: object.hh:61
@ ColumnMajor
Linearize cells of first column, then second column, and so on.
The class represents a generic MDD in the sense that it is independent of the cell base type.
Definition: gmarray.hh:65
void set_current_format(r_Data_Format)
set current data format
r_Cell_Linearization cell_linearization
cell linearization.
Definition: gmarray.hh:213
r_Band_Linearization get_band_linearization() const
r_Band_Linearization
Indicate how multiband data is linearized in 1D space.
Definition: mddtypes.hh:397
The spatial domain of an MDD is represented by an object of class r_Minterval.
Definition: minterval.hh:225
char * data
pointer to the internal array representation
Definition: gmarray.hh:191
r_GMarray * intersect(const r_Minterval &where) const
Returns a r_GMarray that is the intersection of the current domain with the specified interval.
r_Data_Format get_current_format() const
get current data format
r_Band_Iterator get_band_iterator(unsigned int band)
get a band iterator
void set_tiled_array(r_Set< r_GMarray * > *newData)
set the internal representation of the array
r_Cell_Linearization
Linearization of cells from nD to 1D space.
Definition: mddtypes.hh:412
The r_Storage_Layout class is used to express the storage options for r_Marray objects.
Definition: storagelayout.hh:60
void set_type_length(r_Bytes)
set length of cell type in bytes
r_GMarray(r_Transaction *transaction=NULL)
default constructor (no memory is allocated!)
r_Bytes type_length
length of the cell base type in bytes
Definition: gmarray.hh:200
const char * operator[](const r_Point &) const
subscript operator for read access of a cell.