#include <data_io.hpp>
Public Member Functions | |
virtual bool | read_bool (bool &val)=0 |
virtual bool | read_char (char &val)=0 |
virtual bool | read_schar (signed char &val)=0 |
virtual bool | read_uchar (unsigned char &val)=0 |
virtual bool | read_wchar (wchar_t &val)=0 |
virtual bool | read_short (short &val)=0 |
virtual bool | read_ushort (unsigned short &val)=0 |
virtual bool | read_int (int &val)=0 |
virtual bool | read_uint (unsigned int &val)=0 |
virtual bool | read_long (long &val)=0 |
virtual bool | read_ulong (unsigned long &val)=0 |
virtual bool | read_float (float &val)=0 |
virtual bool | read_double (double &val)=0 |
virtual bool | read_ldouble (long double &val)=0 |
virtual bool | read_ptr (void *&val)=0 |
template<class T> | |
bool | read_ptr (T *&val) |
virtual bool | read_text (sh_text &val)=0 |
virtual void | destroy (mem_pool &mp2)=0 |
virtual void | write_bool (bool val)=0 |
virtual void | write_char (char val)=0 |
virtual void | write_schar (signed char val)=0 |
virtual void | write_uchar (unsigned char val)=0 |
virtual void | write_wchar (wchar_t val)=0 |
virtual void | write_short (short val)=0 |
virtual void | write_ushort (unsigned short val)=0 |
virtual void | write_int (int val)=0 |
virtual void | write_uint (unsigned int val)=0 |
virtual void | write_long (long val)=0 |
virtual void | write_ulong (unsigned long val)=0 |
virtual void | write_float (float val)=0 |
virtual void | write_double (double val)=0 |
virtual void | write_ldouble (long double val)=0 |
virtual void | write_ptr (void *val)=0 |
virtual void | write_text (const ch_rng &val)=0 |
Protected Member Functions | |
void | operator delete (void *ptr, size_t size) |
Static Protected Member Functions | |
template<class T> | |
static void | destroy_this (T *ptr, mem_pool &mp2) |
Definition at line 93 of file data_io.hpp.
virtual bool ders::data_in::read_bool | ( | bool & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_char | ( | char & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_schar | ( | signed char & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_uchar | ( | unsigned char & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_wchar | ( | wchar_t & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_short | ( | short & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_ushort | ( | unsigned short & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_int | ( | int & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_uint | ( | unsigned int & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_long | ( | long & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_ulong | ( | unsigned long & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_float | ( | float & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_double | ( | double & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_ldouble | ( | long double & | val | ) | [pure virtual, inherited] |
virtual bool ders::data_in::read_ptr | ( | void *& | val | ) | [pure virtual, inherited] |
bool ders::data_in::read_ptr | ( | T *& | val | ) | [inline, inherited] |
Definition at line 106 of file data_io.hpp.
00107 { 00108 void* ptr; 00109 bool ret=read_ptr(ptr); 00110 val=static_cast<T*>(ptr); 00111 00112 return ret; 00113 }
virtual bool ders::data_in::read_text | ( | sh_text & | val | ) | [pure virtual, inherited] |
void ders::destroyable::destroy_this | ( | T * | ptr, | |
mem_pool & | mp2 | |||
) | [inline, static, protected, inherited] |
Definition at line 47 of file destroy.hpp.
00048 { 00049 assert(typeid(*ptr)==typeid(T)); 00050 00051 ptr->~T(); 00052 mp2.deallocate(ptr, sizeof(T)); 00053 }
void ders::destroyable::operator delete | ( | void * | ptr, | |
size_t | size | |||
) | [inline, protected, inherited] |
virtual void ders::destroyable::destroy | ( | mem_pool & | mp2 | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_bool | ( | bool | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_char | ( | char | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_schar | ( | signed char | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_uchar | ( | unsigned char | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_wchar | ( | wchar_t | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_short | ( | short | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_ushort | ( | unsigned short | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_int | ( | int | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_uint | ( | unsigned int | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_long | ( | long | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_ulong | ( | unsigned long | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_float | ( | float | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_double | ( | double | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_ldouble | ( | long double | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_ptr | ( | void * | val | ) | [pure virtual, inherited] |
virtual void ders::data_out::write_text | ( | const ch_rng & | val | ) | [pure virtual, inherited] |