rasdaman API
|
#include <csv.hh>
Public Member Functions | |
r_Conv_CSV (const char *src, const r_Minterval &interv, const r_Type *tp) throw (r_Error) | |
constructor using an r_Type object. Exception if the type isn't atomic. More... | |
r_Conv_CSV (const char *src, const r_Minterval &interv, int tp) throw (r_Error) | |
constructor using convert_type_e shortcut More... | |
~r_Conv_CSV (void) | |
destructor More... | |
virtual r_convDesc & | convertTo (const char *options=NULL) throw (r_Error) |
convert to CSV More... | |
virtual r_convDesc & | convertFrom (const char *options=NULL) throw (r_Error) |
convert from CSV More... | |
virtual r_Convertor * | clone (void) const |
cloning More... | |
virtual const char * | get_name (void) const |
identification More... | |
virtual r_Data_Format | get_data_format (void) const |
![]() | |
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_Man & | get_storage_handler () const |
get storage handler, default is malloc/free More... | |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
static std::string | type_to_string (int ctype) throw (r_Error) |
get a string representation of the internal type More... | |
static r_Type * | get_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... | |
![]() | |
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... | |
![]() | |
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_Params * | params |
parameter parser More... | |
r_Storage_Man | mystore |
storage manager More... | |
r_Conv_CSV::r_Conv_CSV | ( | const char * | src, |
const r_Minterval & | interv, | ||
const r_Type * | tp | ||
) | |||
throw | ( | r_Error | |
) |
constructor using an r_Type object. Exception if the type isn't atomic.
r_Conv_CSV::r_Conv_CSV | ( | const char * | src, |
const r_Minterval & | interv, | ||
int | tp | ||
) | |||
throw | ( | r_Error | |
) |
constructor using convert_type_e shortcut
r_Conv_CSV::~r_Conv_CSV | ( | void | ) |
destructor
|
virtual |
cloning
Implements r_Convertor.
|
virtual |
convert from CSV
Implements r_Convertor.
|
virtual |
convert to CSV
Implements r_Convertor.
|
virtual |
Implements r_Convertor.
|
virtual |
identification
Implements r_Convertor.