#include "data-conv.h"
Public Types | |
enum | data_type { dt_int8 = 0 , dt_uint8 = 1 , dt_int16 = 2 , dt_uint16 = 3 , dt_int32 = 4 , dt_uint32 = 5 , dt_int64 = 6 , dt_uint64 = 7 , dt_single = 8 , dt_double = 9 , dt_char = 10 , dt_schar = 11 , dt_uchar = 12 , dt_logical = 13 , dt_short = 14 , dt_ushort = 15 , dt_int = 16 , dt_uint = 17 , dt_long = 18 , dt_ulong = 19 , dt_longlong = 20 , dt_ulonglong = 21 , dt_float = 22 , dt_unknown = 23 } |
Static Public Member Functions | |
static std::string | data_type_as_string (data_type dt) |
static size_t | data_type_size (data_type dt) |
static data_type | string_to_data_type (const std::string &s) |
static void | string_to_data_type (const std::string &s, int &block_size, data_type &input_type, data_type &output_type) |
static void | string_to_data_type (const std::string &s, int &block_size, data_type &output_type) |
Definition at line 34 of file data-conv.h.
Definition at line 40 of file data-conv.h.
|
static |
Definition at line 473 of file data-conv.cc.
References dt_char, dt_double, dt_float, dt_int, dt_int16, dt_int32, dt_int64, dt_int8, dt_logical, dt_long, dt_longlong, dt_schar, dt_short, dt_single, dt_uchar, dt_uint, dt_uint16, dt_uint32, dt_uint64, dt_uint8, dt_ulong, dt_ulonglong, dt_unknown, dt_ushort, and retval.
|
static |
Definition at line 187 of file data-conv.cc.
References dt_char, dt_double, dt_float, dt_int, dt_int16, dt_int32, dt_int64, dt_int8, dt_logical, dt_long, dt_longlong, dt_schar, dt_short, dt_single, dt_uchar, dt_uint, dt_uint16, dt_uint32, dt_uint64, dt_uint8, dt_ulong, dt_ulonglong, dt_unknown, dt_ushort, and retval.
Referenced by octave::stream::read(), and octave::stream::write().
|
static |
Definition at line 293 of file data-conv.cc.
References current_liboctave_error_handler, dt_char, dt_double, dt_int16, dt_int32, dt_int64, dt_int8, dt_logical, dt_single, dt_uint16, dt_uint32, dt_uint64, dt_uint8, dt_unknown, GET_SIZED_INT_TYPE, init_sized_type_lookup_table(), retval, and strip_spaces().
Referenced by do_fread(), do_fwrite(), Feye(), fill_matrix(), and string_to_data_type().
|
static |
Definition at line 367 of file data-conv.cc.
References current_liboctave_error_handler, dt_double, dt_uchar, len, string_to_data_type(), and strip_spaces().
|
static |
Definition at line 442 of file data-conv.cc.
References current_liboctave_error_handler, dt_double, len, string_to_data_type(), and strip_spaces().