IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Public Member Functions | |
serializer () | |
void | alloc_start () |
void | alloc_entry () |
void | sstart_str () |
void | ustart_str (string s) |
void | serialize_bool (bool v) |
void | serialize_int (int v) |
void | serialize_double (double v) |
bool | unserialize_bool () |
int | unserialize_int () |
double | unserialize_double () |
void | stop () |
string | get_string () |
serializer () | |
void | alloc_start () |
void | alloc_entry () |
void | sstart_str () |
void | ustart_str (string s) |
void | serialize_bool (bool v) |
void | serialize_int (int v) |
void | serialize_double (double v) |
bool | unserialize_bool () |
int | unserialize_int () |
double | unserialize_double () |
void | stop () |
string | get_string () |
Private Types | |
enum | SMODE { SMODE.DEFAULT, SMODE.ALLOC, SMODE.TO_STRING, SMODE.FROM_STRING, SMODE.DEFAULT, SMODE.ALLOC, SMODE.TO_STRING, SMODE.FROM_STRING } |
enum | SMODE { SMODE.DEFAULT, SMODE.ALLOC, SMODE.TO_STRING, SMODE.FROM_STRING, SMODE.DEFAULT, SMODE.ALLOC, SMODE.TO_STRING, SMODE.FROM_STRING } |
Private Member Functions | |
int | get_alloc_size () |
int | get_alloc_size () |
Static Private Member Functions | |
static char | sixbits2char (int v) |
static int | char2sixbits (char c) |
static void | threebytes2foursixbits (byte[] src, int src_offs, int[] dst, int dst_offs) |
static void | foursixbits2threebytes (int[] src, int src_offs, byte[] dst, int dst_offs) |
static void | bool2str (bool v, char[] buf, ref int offs) |
static bool | str2bool (char[] buf, ref int offs) |
static void | int2str (int v, char[] buf, ref int offs) |
static int | str2int (char[] buf, ref int offs) |
static void | double2str (double v, char[] buf, ref int offs) |
static double | str2double (char[] buf, ref int offs) |
static char | sixbits2char (int v) |
static int | char2sixbits (char c) |
static void | threebytes2foursixbits (byte[] src, int src_offs, int[] dst, int dst_offs) |
static void | foursixbits2threebytes (int[] src, int src_offs, byte[] dst, int dst_offs) |
static void | bool2str (bool v, char[] buf, ref int offs) |
static bool | str2bool (char[] buf, ref int offs) |
static void | int2str (int v, char[] buf, ref int offs) |
static int | str2int (char[] buf, ref int offs) |
static void | double2str (double v, char[] buf, ref int offs) |
static double | str2double (char[] buf, ref int offs) |
Private Attributes | |
const int | SER_ENTRIES_PER_ROW = 5 |
const int | SER_ENTRY_LENGTH = 11 |
SMODE | mode |
int | entries_needed |
int | entries_saved |
int | bytes_asked |
int | bytes_written |
int | bytes_read |
char[] | out_str |
char[] | in_str |
Static Private Attributes | |
static char[] | _sixbits2char_tbl |
static int[] | _char2sixbits_tbl |
|
private |
|
private |
|
inline |
|
inline |
|
inline |
Referenced by alglib.testmlpbaseunit.createnetwork(), alglib.testmlptrainunit.createnetwork(), alglib.testrbfunit.serializationtest(), alglib.testnearestneighborunit.testkdtreeserialization(), alglib.testdforestunit.testprocessing(), alglib.testmlpbaseunit.testprocessing(), alglib.testmlptrainunit.testprocessing(), alglib.testmlpeunit.testprocessing(), and alglib.testalglibbasicsunit.testserializationfunctions().
|
inline |
|
inlineprivate |
References alglib.serializer.bytes_asked, alglib.serializer.SER_ENTRIES_PER_ROW, and alglib.serializer.SER_ENTRY_LENGTH.
Referenced by alglib.serializer.sstart_str().
|
inline |
References alglib.serializer.get_alloc_size().
Referenced by alglib.testmlpbaseunit.createnetwork(), alglib.testmlptrainunit.createnetwork(), alglib.testrbfunit.serializationtest(), alglib.testnearestneighborunit.testkdtreeserialization(), alglib.testdforestunit.testprocessing(), alglib.testmlpbaseunit.testprocessing(), alglib.testmlptrainunit.testprocessing(), alglib.testmlpeunit.testprocessing(), and alglib.testalglibbasicsunit.testserializationfunctions().
|
inline |
Referenced by alglib.testmlpbaseunit.createnetwork(), alglib.testmlptrainunit.createnetwork(), alglib.testrbfunit.serializationtest(), alglib.testnearestneighborunit.testkdtreeserialization(), alglib.testdforestunit.testprocessing(), alglib.testmlpbaseunit.testprocessing(), alglib.testmlptrainunit.testprocessing(), alglib.testmlpeunit.testprocessing(), and alglib.testalglibbasicsunit.testserializationfunctions().
|
inline |
References alglib.serializer.bool2str(), and alglib.serializer.bytes_written.
|
inline |
References alglib.serializer.bytes_written, and alglib.serializer.int2str().
|
inline |
References alglib.serializer.bytes_written, and alglib.serializer.double2str().
|
inline |
References alglib.serializer.str2bool().
|
inline |
References alglib.serializer.str2int().
|
inline |
References alglib.serializer.str2double().
|
inline |
Referenced by alglib.testmlpbaseunit.createnetwork(), alglib.testmlptrainunit.createnetwork(), alglib.testrbfunit.serializationtest(), alglib.testnearestneighborunit.testkdtreeserialization(), alglib.testdforestunit.testprocessing(), alglib.testmlpbaseunit.testprocessing(), alglib.testmlptrainunit.testprocessing(), alglib.testmlpeunit.testprocessing(), and alglib.testalglibbasicsunit.testserializationfunctions().
|
inline |
Referenced by alglib.testmlpbaseunit.createnetwork(), alglib.testmlptrainunit.createnetwork(), alglib.testrbfunit.serializationtest(), alglib.testnearestneighborunit.testkdtreeserialization(), alglib.testdforestunit.testprocessing(), alglib.testmlpbaseunit.testprocessing(), alglib.testmlptrainunit.testprocessing(), alglib.testmlpeunit.testprocessing(), and alglib.testalglibbasicsunit.testserializationfunctions().
|
inlinestaticprivate |
Referenced by alglib.serializer.double2str(), and alglib.serializer.int2str().
|
inlinestaticprivate |
Referenced by alglib.serializer.str2double(), and alglib.serializer.str2int().
|
inlinestaticprivate |
Referenced by alglib.serializer.double2str(), and alglib.serializer.int2str().
|
inlinestaticprivate |
Referenced by alglib.serializer.str2double(), and alglib.serializer.str2int().
|
inlinestaticprivate |
References alglib.serializer.SER_ENTRY_LENGTH.
Referenced by alglib.serializer.serialize_bool().
|
inlinestaticprivate |
Referenced by alglib.serializer.unserialize_bool().
|
inlinestaticprivate |
References alglib.serializer.SER_ENTRY_LENGTH, alglib.serializer.sixbits2char(), and alglib.serializer.threebytes2foursixbits().
Referenced by alglib.serializer.serialize_int().
|
inlinestaticprivate |
References alglib.serializer.char2sixbits(), and alglib.serializer.foursixbits2threebytes().
Referenced by alglib.serializer.unserialize_int().
|
inlinestaticprivate |
References alglib.serializer.SER_ENTRY_LENGTH, alglib.serializer.sixbits2char(), and alglib.serializer.threebytes2foursixbits().
Referenced by alglib.serializer.serialize_double().
|
inlinestaticprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
private |
Referenced by alglib.serializer.get_alloc_size().
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by alglib.serializer.get_alloc_size().
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |