24#ifndef _R_STORAGELAYOUT_HH_
25#define _R_STORAGELAYOUT_HH_
The class represents a generic MDD in the sense that it is independent of the cell base type.
Definition gmarray.hh:66
The spatial domain of an MDD is represented by an object of class r_Minterval.
Definition minterval.hh:226
The class implements a set container.
Definition set.hh:42
The r_Storage_Layout class is used to express the storage options for r_Marray objects.
Definition storagelayout.hh:61
const char * get_storage_format_params() const
this does not do anything important. please use the database methods for this purpose.
void print_status(std::ostream &s) const
writes the state of the object to the specified stream
r_Storage_Layout(r_Tiling *ts, r_Data_Format init_format=r_Array, const char *formatParams=NULL)
the dataformat is not used. please use the database methods for this purpose.
virtual r_Set< r_GMarray * > decomposeMDD(const r_GMarray *mar) const
Function for decomposing large MDDs into a set of smaller tiles.
virtual r_Storage_Layout * clone() const
virtual ~r_Storage_Layout()
virtual destructor
r_Storage_Layout(const r_Storage_Layout &sl)
Copy constructor.
virtual std::vector< r_Minterval > decomposeMDD(const r_Minterval &domain, const r_Bytes cell_size) const
Function for decomposing large MDDs into a set of smaller tiles.
r_Data_Format storage_format
the dataformat is not used. please use the database methods for this purpose.
Definition storagelayout.hh:104
r_Storage_Layout(r_Data_Format init_format=r_Array, const char *formatParams=NULL)
the dataformat is not used. please use the database methods for this purpose.
r_Data_Format get_storage_format() const
this does not do anything important. please use the database methods for this purpose.
const r_Tiling * get_tiling() const
r_Tiling * til
Tiling scheme.
Definition storagelayout.hh:101
std::string storage_params
Definition storagelayout.hh:106
virtual bool is_compatible(const r_Minterval &obj_domain, r_Bytes celltypesize) const
The r_Tiling class is used to specify in which way the tiling is done by the system.
Definition tiling.hh:53
size_t r_Bytes
number of bytes in an tile or mdd or type.
Definition mddtypes.hh:43
r_Data_Format
\begin{tabular}{ll} <tt>r_Array</tt> && no compression, row-major memory representation\...
Definition mddtypes.hh:94
@ r_Array
Definition mddtypes.hh:95
std::ostream & operator<<(std::ostream &s, const r_Storage_Layout &sl)
Output stream operator for objects of type const r_Storage_Layout.