rasdaman API
Public Member Functions | List of all members
r_Conv_NTF Class Reference

#include <ntf.hh>

Inheritance diagram for r_Conv_NTF:
r_Convert_Memory r_Convertor

Public Member Functions

 r_Conv_NTF (const char *src, const r_Minterval &interv, const r_Type *tp) throw (r_Error)
 constructor using an r_Type object More...
 
 r_Conv_NTF (const char *src, const r_Minterval &interv, int tp) throw (r_Error)
 constructor using convert_type_e shortcut More...
 
 ~r_Conv_NTF (void)
 destructor More...
 
virtual r_convDescconvertTo (const char *options=NULL) throw (r_Error)
 convert to NTF More...
 
virtual r_convDescconvertFrom (const char *options=NULL) throw (r_Error)
 convert from NTF More...
 
virtual r_Convertorclone (void) const
 cloning More...
 
virtual const char * get_name (void) const
 identification More...
 
virtual r_Data_Format get_data_format (void) const
 
- Public Member Functions inherited from r_Convert_Memory
 r_Convert_Memory (const char *src, const r_Minterval &interv, const r_Type *tp, int fullTypes=0) throw (r_Error)
 constructor using an r_Type object More...
 
 r_Convert_Memory (const char *src, const r_Minterval &interv, int type) throw (r_Error)
 constructur using convert_type_e shortcut More...
 
virtual ~r_Convert_Memory (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...
 

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
 
- 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...
 
- Protected Member Functions inherited from r_Convert_Memory
void initMemory (void) throw (r_Error)
 init memfs More...
 
- 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_Convert_Memory
memFSContextmemFS
 variables More...
 
void * handle
 
- 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_NTF::r_Conv_NTF ( const char *  src,
const r_Minterval interv,
const r_Type tp 
)
throw (r_Error
)

constructor using an r_Type object

r_Conv_NTF::r_Conv_NTF ( const char *  src,
const r_Minterval interv,
int  tp 
)
throw (r_Error
)

constructor using convert_type_e shortcut

r_Conv_NTF::~r_Conv_NTF ( void  )

destructor

Member Function Documentation

virtual r_Convertor* r_Conv_NTF::clone ( void  ) const
virtual

cloning

Implements r_Convertor.

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

convert from NTF

Implements r_Convertor.

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

convert to NTF

Implements r_Convertor.

virtual r_Data_Format r_Conv_NTF::get_data_format ( void  ) const
virtual

Implements r_Convertor.

virtual const char* r_Conv_NTF::get_name ( void  ) const
virtual

identification

Implements r_Convertor.


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