95 Tile(std::vector<Tile*>* tilesVec);
206 void printStatus(
unsigned int level = 0, std::ostream &stream = std::cout)
const;
270 const char* cell,
int constPos = 1);
300 const std::vector<double>& scaleFactors);
316 const std::vector<double>& scaleFactors,
bool isCompressed() const
returns true if the contents are currently compressed and must be decompressed in order to be usefull...
void printStatus(unsigned int level=0, std::ostream &stream=std::cout) const
printed output for testing.
const Tile & operator=(const Tile &cell)
assignment operator (needed, as class uses dynamic memory).
const BaseType * getType() const
returns the BaseType of the tile.
unsigned int r_Dimension
Definition: mddtypes.hh:118
r_Bytes getCompressedSize() const
returns size of the contents of the tile as stored in chars.
void execBinaryOp(BinaryOp *myOp, const r_Minterval &areaRes, const Tile *op1Tile, const r_Minterval &areaOp1, const Tile *op2Tile, const r_Minterval &areaOp2)
carries out binary function with self as result.
bool isPersistent() const
returns true for persistent instances.
int scaleGetDomain(const r_Minterval &areaOp, const std::vector< double > &scaleFactors, r_Minterval &areaScaled)
Definition: keyobject.hh:43
virtual void copyTile(const r_Minterval &areaRes, const Tile *opTile, const r_Minterval &areaOp)
copy a subcube from one tile to another
char * execCondenseOp(CondenseOp *myOp, const r_Minterval &areaOp)
carries out condense function (const)
static char * execGenCondenseOp(GenCondenseOp *myOp, const r_Minterval &areaOp)
executes general condense operation { myOp} in area { areaOp} (const)
virtual void execMarrayOp(MarrayOp *myOp, const r_Minterval &areaRes, const r_Minterval &areaOp)
fills tile in area { areaRes} using MarrayOp { myOp}.
virtual void execScaleOp(const Tile *opTile, const r_Minterval &areaOp, const r_Point &origin, const std::vector< double > &scaleFactors)
executes scaling operation.
const BaseType * type
pointer to base type for cells of Tile.
Definition: tile.hh:363
void execUnaryOp(UnaryOp *myOp, const r_Minterval &areaRes, const Tile *opTile, const r_Minterval &areaOp)
carries out unary function with self as result.
virtual void execConstOp(BinaryOp *myOp, const r_Minterval &areaRes, const Tile *opTile, const r_Minterval &areaOp, const char *cell, int constPos=1)
carries out binary function with self as result.
r_Data_Format
Definition: mddtypes.hh:133
const r_Minterval & getDomain() const
returns the spatial domain of the tile.
r_Bytes getSize() const
returns size of the (uncompressed) contents of the tile in chars.
r_Bytes calcOffset(const r_Point &point) const
calculate offset in cells
virtual ~Tile()
virtual destructor.
uint64_t r_Area
Definition: mddtypes.hh:85
const char * getContents() const
returns pointer to (uncompressed) contents of Tile.
Definition: mddtypes.hh:135
unsigned int r_Bytes
Definition: mddtypes.hh:56
Definition: relcatalogif/basetype.hh:66
const char * getCell(r_Area index) const
access to cell for reading (index is 1D) one cell length is basetype length.
void setPersistent(bool state=true)
Tile(const r_Minterval &newDom, const BaseType *newType, DBTileId newBLOBTile)
Module: { raslib}.
Definition: rmdebug.hh:298
r_Data_Format getDataFormat() const
returns the format of the data maintained by the tile
r_Minterval domain
spatial domain of the tile.
Definition: tile.hh:361
DBTileId blobTile
Smart pointer to the persistent BLOBTile.
Definition: tile.hh:365
void setContents(char *newContents)
sets (uncompressed) contents of Tile.
std::vector< Tile * > * splitTile(r_Minterval resDom, int storageDomain=0)
splits tile in vector of tiles of smaller size.
Definition: minterval.hh:249
r_Dimension getDimension() const
returns the dimension of the tile.
void setCell(r_Area index, const char *newCell)
set cell (index is 1D).