Public Types | Static Public Member Functions

oct_data_conv Class Reference

#include "data-conv.h"

List of all members.

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 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)
static data_type string_to_data_type (const std::string &s)

Detailed Description

Definition at line 30 of file data-conv.h.


Member Enumeration Documentation

Enumerator:
dt_int8 
dt_uint8 
dt_int16 
dt_uint16 
dt_int32 
dt_uint32 
dt_int64 
dt_uint64 
dt_single 
dt_double 
dt_char 
dt_schar 
dt_uchar 
dt_logical 
dt_short 
dt_ushort 
dt_int 
dt_uint 
dt_long 
dt_ulong 
dt_longlong 
dt_ulonglong 
dt_float 
dt_unknown 

Definition at line 36 of file data-conv.h.


Member Function Documentation

std::string oct_data_conv::data_type_as_string ( oct_data_conv::data_type  dt  )  [static]
void oct_data_conv::string_to_data_type ( const std::string &  s,
int block_size,
oct_data_conv::data_type input_type,
oct_data_conv::data_type output_type 
) [static]

Definition at line 260 of file data-conv.cc.

References current_liboctave_error_handler, and strip_spaces().

void oct_data_conv::string_to_data_type ( const std::string &  s,
int block_size,
oct_data_conv::data_type output_type 
) [static]

Definition at line 341 of file data-conv.cc.

References strip_spaces().

oct_data_conv::data_type oct_data_conv::string_to_data_type ( const std::string &  s  )  [static]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines