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

ht_history_entry Class Reference

#include <hthist.h>

Inheritance diagram for ht_history_entry:

Object List of all members.

Public Member Functions

 ht_history_entry (char *str=0, ht_object_stream_bin *data=0, ht_mem_file *datafile=0)
 ~ht_history_entry ()
virtual int load (ht_object_stream *s)
virtual void store (ht_object_stream *s)
virtual OBJECT_ID object_id () const

Public Attributes

char * desc
ht_object_stream_bindata
ht_mem_filedatafile

Constructor & Destructor Documentation

ht_history_entry::ht_history_entry char *  str = 0,
ht_object_stream_bin data = 0,
ht_mem_file datafile = 0
 

Definition at line 72 of file hthist.cc.

References data, datafile, desc, and ht_strdup().

ht_history_entry::~ht_history_entry  ) 
 

Definition at line 79 of file hthist.cc.

References data, datafile, desc, ht_mem_file::done(), and ht_object_stream::done().


Member Function Documentation

int ht_history_entry::load ht_object_stream s  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from Object.

Definition at line 92 of file hthist.cc.

References data, datafile, desc, ht_object_stream::getBinary(), ht_object_stream::getInt(), ht_object_stream::getString(), ht_object_stream_bin::init(), ht_mem_file::init(), NULL, size, UINT, and ht_mem_file::write().

OBJECT_ID ht_history_entry::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 130 of file hthist.cc.

References ATOM_HT_HISTORY_ENTRY.

void ht_history_entry::store ht_object_stream s  )  [virtual]
 

stores object.

Reimplemented from Object.

Definition at line 116 of file hthist.cc.

References ht_mem_file::bufptr(), datafile, desc, ht_mem_file::get_size(), NULL, ht_object_stream::putBinary(), ht_object_stream::putInt(), ht_object_stream::putString(), size, and UINT.


Member Data Documentation

ht_object_stream_bin* ht_history_entry::data
 

Definition at line 49 of file hthist.h.

Referenced by ht_strinputfield::history_dialog(), ht_history_entry(), load(), and ~ht_history_entry().

ht_mem_file* ht_history_entry::datafile
 

Definition at line 50 of file hthist.h.

Referenced by ht_strinputfield::history_dialog(), ht_history_entry(), load(), store(), and ~ht_history_entry().

char* ht_history_entry::desc
 

Definition at line 48 of file hthist.h.

Referenced by ht_history_entry(), load(), store(), and ~ht_history_entry().


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