161 virtual void print_status(std::ostream& s = std::cout)
const;
164 void print_status(std::ostream& s,
int hexoutput)
const;
186 #include "rasodmg/gmarray.icc"
const r_GMarray & operator=(const r_GMarray &)
assignment: cleanup + copy
void set_spatial_domain(const r_Minterval &domain)
set spatial domain
Definition: raslib/basetype.hh:47
const char * operator[](const r_Point &) const
subscript operator for read access of a cell
virtual void print_status(std::ostream &s=std::cout) const
writes the state of the object to the specified stream
void set_current_format(r_Data_Format)
set current data format
r_Bytes type_length
length of the cell base type in bytes
Definition: gmarray.hh:177
r_GMarray * intersect(r_Minterval where) const
Returns a r_GMarray that is the intersection of the current domain with the specified interval...
char * data
pointer to the internal array representation
Definition: gmarray.hh:171
const r_Minterval & spatial_domain() const
getting the spatial domain
const r_Storage_Layout * get_storage_layout() const
gets a pointer to the storage layout object
void set_type_length(r_Bytes)
set length of cell type in bytes
r_Data_Format get_current_format() const
get current data format
r_Bytes get_type_length() const
get length of cell type in bytes
r_Data_Format
Definition: mddtypes.hh:133
Definition: gmarray.hh:66
r_GMarray()
default constructor (no memory is allocated!)
virtual void insert_obj_into_db()
inserts an object into the database
Definition: storagelayout.hh:70
r_Bytes get_array_size() const
get size of internal array representation in byets
virtual void r_deactivate()
it is called when an object leaves transient memory (internal use only)
virtual ~r_GMarray()
destructor
unsigned int r_Bytes
Definition: mddtypes.hh:56
char * get_array()
get the internal representation of the array
r_Storage_Layout * storage_layout
pointer to storage layout object
Definition: gmarray.hh:183
void set_array_size(r_Bytes)
set size of internal memory representation in bytes
r_Minterval domain
spatial domain
Definition: gmarray.hh:168
void set_array(char *)
set the internal representation of the array
const r_Base_Type * get_base_type_schema()
get base type schema
r_Bytes data_size
size of internal array representation in bytes
Definition: gmarray.hh:174
void set_storage_layout(r_Storage_Layout *)
sets the storage layout object and checks compatibility with the domain
r_Data_Format current_format
store current data format
Definition: gmarray.hh:180
Definition: minterval.hh:249