117 r_Convertor(
const char *src,
const r_Minterval &interv,
const r_Type *tp,
118 bool fullTypes=
false) throw(r_Error);
120 r_Convertor( const
char *src, const r_Minterval &interv,
int type ) throw(r_Error);
146 virtual ~r_Convertor(
void );
151 virtual r_convDesc &convertTo( const
char *options=NULL ) throw(r_Error) = 0;
154 virtual r_convDesc &convertFrom( const
char *options=NULL ) throw(r_Error) = 0;
157 virtual r_Convertor *clone(
void ) const = 0;
160 virtual const
char *get_name(
void ) const = 0;
161 virtual r_Data_Format get_data_format(
void ) const = 0;
195 typedef struct convert_string_s
203 static std::string type_to_string(
int ctype )
throw(r_Error);
206 static r_Type *get_external_type(
int ctype )
throw(r_Error);
209 static convert_type_e get_internal_type(
const r_Type* type,
bool fullTypes=
false ) throw(r_Error);
213 void initShare( const
char *src, const r_Minterval &interv );
219 template <class baseType>
220 void applyColorScheme();
226 r_Parse_Params *params;
233 std::ostream& operator<<(std::ostream& os, r_Convertor::convert_type_e& cte);
240 class r_Convert_Memory : public r_Convertor
244 r_Convert_Memory(
const char *src,
const r_Minterval &interv,
const r_Type *tp,
245 int fullTypes=0) throw(r_Error);
247 r_Convert_Memory( const
char *src, const r_Minterval &interv,
int type ) throw(r_Error);
249 virtual ~r_Convert_Memory(
void );
254 void initMemory(
void ) throw(r_Error);
Definition: storageman.hh:56