rasdaman API
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
r_Conv_DEM Class Reference

#include <dem.hh>

Inheritance diagram for r_Conv_DEM:
r_Convertor

Classes

class  r_GeoBBox
 

Public Member Functions

 r_Conv_DEM (const char *source, const r_Minterval &lengthordomain, const r_Type *tp) throw (r_Error)
 
 r_Conv_DEM (const char *source, const r_Minterval &lengthordomain, int tp) throw (r_Error)
 
r_convDescconvertFrom (const char *options=NULL) throw (r_Error)
 convert DEF to array More...
 
r_convDescconvertTo (const char *options=NULL) throw (r_Error)
 convert array to DEF More...
 
const char * get_name () const throw ()
 identification More...
 
r_Data_Format get_data_format () const throw ()
 
r_Convertorclone () const throw (r_Error)
 cloning More...
 
virtual ~r_Conv_DEM (void)
 destructor More...
 
- Public Member Functions inherited from r_Convertor
 r_Convertor (void)
 default constructor (should not be used) More...
 
 r_Convertor (const char *src, const r_Minterval &interv, const r_Type *tp, bool fullTypes=false) throw (r_Error)
 constructor using an r_Type object More...
 
 r_Convertor (const char *src, const r_Minterval &interv, int type) throw (r_Error)
 constructor using convert_type_e shortcut More...
 
virtual ~r_Convertor (void)
 destructor More...
 
void set_storage_handler (const r_Storage_Man &newStore)
 set storage handler, default is malloc/free More...
 
const r_Storage_Manget_storage_handler () const
 get storage handler, default is malloc/free More...
 

Static Public Member Functions

static bool decodeOptions (const char *options, r_GeoBBox &collBBox) throw ()
 decode convertor options More...
 
static string encodeOptions (const r_GeoBBox &collBBox) throw ()
 encode convertor options More...
 
static void initGeoBBox (r_GeoBBox &cBBox)
 init convertor parameters to default value More...
 
- Static Public Member Functions inherited from r_Convertor
static std::string type_to_string (int ctype) throw (r_Error)
 get a string representation of the internal type More...
 
static r_Typeget_external_type (int ctype) throw (r_Error)
 get a r_Type from an internal type More...
 
static convert_type_e get_internal_type (const r_Type *type, bool fullTypes=false) throw (r_Error)
 get a internal type from a r_Type More...
 

Static Public Attributes

static const r_Double NULL_DB
 
static const r_Double ZERO_DB
 
static const r_Double ZERO_DEM
 
static const r_Dimension srcIntervDim
 dimension of src domain accepted as input in convertFrom More...
 
static const r_Dimension destIntervDim
 dimension of dest domain accepted as input in convertTo More...
 

Additional Inherited Members

- Public Types inherited from r_Convertor
enum  convert_type_e {
  ctype_void, ctype_bool, ctype_char, ctype_rgb,
  ctype_int8, ctype_uint8, ctype_int16, ctype_uint16,
  ctype_int32, ctype_uint32, ctype_int64, ctype_uint64,
  ctype_float32, ctype_float64, ctype_struct
}
 base type shortcuts More...
 
typedef struct
r_Convertor::convert_string_s 
convert_string_t
 
- Protected Member Functions inherited from r_Convertor
void initShare (const char *src, const r_Minterval &interv)
 initialize internal structures More...
 
template<class baseType >
void applyColorScheme ()
 convert unsupported type to rgb by applying the default color scheme More...
 
- Protected Attributes inherited from r_Convertor
bool destroySrc
 true if we should free the src area (in case the input was converted to rgb) More...
 
r_convDesc desc
 conversion context More...
 
r_Parse_Paramsparams
 parameter parser More...
 
r_Storage_Man mystore
 storage manager More...
 

Constructor & Destructor Documentation

r_Conv_DEM::r_Conv_DEM ( const char *  source,
const r_Minterval lengthordomain,
const r_Type tp 
)
throw (r_Error
)
r_Conv_DEM::r_Conv_DEM ( const char *  source,
const r_Minterval lengthordomain,
int  tp 
)
throw (r_Error
)
virtual r_Conv_DEM::~r_Conv_DEM ( void  )
virtual

destructor

Member Function Documentation

r_Convertor* r_Conv_DEM::clone ( ) const
throw (r_Error
)
virtual

cloning

Implements r_Convertor.

r_convDesc& r_Conv_DEM::convertFrom ( const char *  options = NULL)
throw (r_Error
)
virtual

convert DEF to array

Implements r_Convertor.

r_convDesc& r_Conv_DEM::convertTo ( const char *  options = NULL)
throw (r_Error
)
virtual

convert array to DEF

Implements r_Convertor.

static bool r_Conv_DEM::decodeOptions ( const char *  options,
r_GeoBBox collBBox 
)
throw (
)
static

decode convertor options

static string r_Conv_DEM::encodeOptions ( const r_GeoBBox collBBox)
throw (
)
static

encode convertor options

r_Data_Format r_Conv_DEM::get_data_format ( ) const
throw (
)
virtual

Implements r_Convertor.

const char* r_Conv_DEM::get_name ( ) const
throw (
)
virtual

identification

Implements r_Convertor.

static void r_Conv_DEM::initGeoBBox ( r_GeoBBox cBBox)
static

init convertor parameters to default value

Member Data Documentation

const r_Dimension r_Conv_DEM::destIntervDim
static

dimension of dest domain accepted as input in convertTo

const r_Double r_Conv_DEM::NULL_DB
static
const r_Dimension r_Conv_DEM::srcIntervDim
static

dimension of src domain accepted as input in convertFrom

const r_Double r_Conv_DEM::ZERO_DB
static
const r_Double r_Conv_DEM::ZERO_DEM
static

The documentation for this class was generated from the following file: