26#ifndef __TERRALIB_DATATYPE_INTERNAL_ARRAY_H 
   27#define __TERRALIB_DATATYPE_INTERNAL_ARRAY_H 
A base class for objects that can be retrieved from the data access module.
 
A base class for values that can be retrieved from the data access module.
 
The type for variable-length multidimensional arrays.
 
void insert(te::dt::AbstractData *data, const std::vector< std::size_t > &pos)
Inserts data into specified position.
 
te::dt::AbstractData & operator[](const std::vector< std::size_t > &i)
Access data in i index.
 
int getElementsTypeCode()
Returns the data type of the elements of the array.
 
Array & operator=(const Array &rhs)
Assignment operator.
 
std::size_t getDimension() const
Returns the numbe of dimensions of the array.
 
int getTypeCode() const
Returns the type code for array data: ARRAY_TYPE.
 
Array(const Array &rhs)
Copy constructor.
 
std::size_t m_dimension
The number of dimensions.
 
std::size_t getDimensionSize(std::size_t i) const
Gets the number of elements in the i-th dimension.
 
AbstractData * clone() const
It creates a new clone of the array.
 
std::map< std::vector< std::size_t >, te::dt::AbstractData * > m_data
A map from positions to data.
 
int m_type
The data type of this array.
 
std::string toString() const
Return a string with all the data inside array.
 
te::dt::AbstractData * getData(const std::vector< std::size_t > &i)
Returns data from specified position.
 
Array(std::size_t d, int t)
Multi-dimensional array constructor.
 
std::vector< std::size_t > m_dimensionSizes
The vector of sizes for the dimensions.
 
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
Enumerations of XML module.