![]() |
rasdaman client API 10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
#include <tiling.hh>
Public Member Functions | |
| r_Dimension_Tiling (r_Dimension dim, r_Bytes ts=r_Tiling::defaultTileSize) | |
| Constructor for this object (Takes dim (no of dimension) and tile size as parameter) | |
| virtual | ~r_Dimension_Tiling ()=default |
| void | print_status (std::ostream &os) const override |
| Prints the current status of the object. | |
| bool | is_compatible (const r_Minterval &obj_domain, r_Bytes cellTypeSize) const override |
| returns true if the cellTypeSize is smaller or equal to the tile size and the dimension fits the obj_domain | |
| r_Dimension | get_dimension () const |
| std::vector< r_Minterval > | compute_tiles (const r_Minterval &obj_domain, r_Bytes cellTypeSize) const override=0 |
| Decompose an object in tiles. | |
| r_Tiling * | clone () const override=0 |
| This method provides the core funcionality of this class. | |
Public Member Functions inherited from r_Size_Tiling | |
| r_Size_Tiling (const char *encoded) | |
| Constructor that reads everything from a string e.g."100". | |
| r_Size_Tiling (r_Bytes ts=r_Tiling::defaultTileSize) | |
| virtual | ~r_Size_Tiling ()=default |
| void | print_status (std::ostream &os) const override |
| Prints the current status of the object. | |
| bool | is_compatible (const r_Minterval &obj_domain, r_Bytes cellTypeSize) const override |
| returns true if the cellTypeSize is smaller or equal to the tile size and obj_domain has more than 0 dimensions | |
| std::vector< r_Minterval > | compute_tiles (const r_Minterval &obj_domain, r_Bytes cellTypeSize) const override |
| Decompose an object in tiles. | |
| r_Bytes | get_tile_size () const |
| r_Tiling * | clone () const override |
| This method provides the core funcionality of this class. | |
| r_Tiling_Scheme | get_tiling_scheme () const override |
| This method is similar to a copy constructor, this is, is returns a copy of the current object. | |
Public Member Functions inherited from r_Tiling | |
| virtual | ~r_Tiling ()=default |
Protected Attributes | |
| r_Dimension | dimension {} |
| dimension the mdd must have | |
Protected Attributes inherited from r_Size_Tiling | |
| r_Bytes | tile_size {} |
| Tile size. | |
Additional Inherited Members | |
Static Public Attributes inherited from r_Size_Tiling | |
| static const char * | description |
Static Public Attributes inherited from r_Tiling | |
| static const char * | ASTERIX |
| return the type of tiling scheme | |
| static const char * | TCOLON |
| static const char * | TCOMMA |
| static const char * | LSQRBRA |
| static const char * | RSQRBRA |
| static const int | DefaultBase |
| static const r_Bytes | defaultTileSize |
Protected Member Functions inherited from r_Tiling | |
| void | check_nonempty_tiling (const char *encoded) const |
| void | check_premature_stream_end (const char *currPos, const char *endPos) const |
| r_Minterval | parse_minterval (const char *encoded) const |
| unsigned int | parse_unsigned (const char *encoded) const |
| unsigned long | parse_unsigned_long (const char *encoded) const |
| long | parse_long (const char *encoded) const |
| double | parse_double (const char *encoded) const |
| std::unique_ptr< char[]> | copy_buffer (const char *buf, size_t len) const |
| const char * | advance_to_next_char (const char *p, const char *search) const |
| r_Dimension_Tiling::r_Dimension_Tiling | ( | r_Dimension | dim, |
| r_Bytes | ts = r_Tiling::defaultTileSize |
||
| ) |
Constructor for this object (Takes dim (no of dimension) and tile size as parameter)
|
virtualdefault |
|
overridepure virtual |
This method provides the core funcionality of this class.
All derived classes must implement it. As input parameters it takes the big object to be decomposed and returns a set of tiles that compose the big object. This method throws an exeception when the dimension specified, extend or the cell_size are incompatible with the current tiling. You can check compatibility by invoking is_compatible. Clones this object
Implements r_Tiling.
Implemented in r_Aligned_Tiling, r_Interest_Tiling, r_Dir_Tiling, and r_Stat_Tiling.
|
overridepure virtual |
Decompose an object in tiles.
Implements r_Tiling.
Implemented in r_Aligned_Tiling, r_Interest_Tiling, r_Dir_Tiling, and r_Stat_Tiling.
| r_Dimension r_Dimension_Tiling::get_dimension | ( | ) | const |
|
overridevirtual |
returns true if the cellTypeSize is smaller or equal to the tile size and the dimension fits the obj_domain
Implements r_Tiling.
Reimplemented in r_Dir_Tiling.
|
overridevirtual |
Prints the current status of the object.
Implements r_Tiling.
Reimplemented in r_Interest_Tiling, r_Dir_Tiling, and r_Stat_Tiling.
|
protected |
dimension the mdd must have