Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_data_mem Class Reference

#include <htdata.h>

Inheritance diagram for ht_data_mem:

Object List of all members.

Public Member Functions

 ht_data_mem (const void *v=0, uint size=0)
virtual ~ht_data_mem ()
virtual int load (ht_object_stream *s)
virtual void store (ht_object_stream *s)
virtual OBJECT_ID object_id () const

Public Attributes

void * value
uint size

Constructor & Destructor Documentation

ht_data_mem::ht_data_mem const void *  v = 0,
uint  size = 0
 

Definition at line 111 of file htdata.cc.

References _size, malloc(), NULL, size, uint, and value.

ht_data_mem::~ht_data_mem  )  [virtual]
 

Definition at line 122 of file htdata.cc.

References value.


Member Function Documentation

int ht_data_mem::load ht_object_stream s  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from Object.

Definition at line 127 of file htdata.cc.

References ht_layer_stream::get_error(), ht_object_stream::getBinary(), NULL, size, and value.

OBJECT_ID ht_data_mem::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 138 of file htdata.cc.

References ATOM_HT_DATA_MEM.

void ht_data_mem::store ht_object_stream s  )  [virtual]
 

stores object.

Reimplemented from Object.

Definition at line 133 of file htdata.cc.

References NULL, ht_object_stream::putBinary(), size, and value.


Member Data Documentation

uint ht_data_mem::size
 

Definition at line 83 of file htdata.h.

Referenced by ht_data_mem(), load(), and store().

void* ht_data_mem::value
 

Definition at line 82 of file htdata.h.

Referenced by ht_object_stream_memmap::duppa(), ht_data_mem(), load(), store(), and ~ht_data_mem().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:15:57 2004 by doxygen 1.3.5