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

ht_data_string Class Reference

#include <htstring.h>

Inheritance diagram for ht_data_string:

Object ht_data_tagstring List of all members.

Public Member Functions

 ht_data_string (const char *s=0)
virtual ~ht_data_string ()
virtual int load (ht_object_stream *f)
virtual void store (ht_object_stream *f)
virtual int toString (char *s, int maxlen)
virtual OBJECT_ID object_id () const

Public Attributes

char * value

Constructor & Destructor Documentation

ht_data_string::ht_data_string const char *  s = 0  ) 
 

Definition at line 538 of file htstring.cc.

References ht_strdup(), and value.

ht_data_string::~ht_data_string  )  [virtual]
 

Definition at line 543 of file htstring.cc.

References value.


Member Function Documentation

int ht_data_string::load ht_object_stream f  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from Object.

Definition at line 548 of file htstring.cc.

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

OBJECT_ID ht_data_string::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 564 of file htstring.cc.

References ATOM_HT_DATA_STRING.

void ht_data_string::store ht_object_stream f  )  [virtual]
 

stores object.

Reimplemented from Object.

Definition at line 554 of file htstring.cc.

References NULL, ht_object_stream::putString(), and value.

int ht_data_string::toString char *  s,
int  maxlen
[virtual]
 

Prints object in string |s|

Returns:
number of characters written in s

Reimplemented from Object.

Definition at line 559 of file htstring.cc.

References ht_snprintf(), and value.


Member Data Documentation

char* ht_data_string::value
 

Definition at line 74 of file htstring.h.

Referenced by ht_registry::debug_dump_i(), ht_registry::enum_next(), ht_registry::enum_prev(), RegistryFs::enumFiletype(), ht_registry::get_node_type_desc(), ht_string_list::get_string(), ht_data_string(), load(), store(), toString(), and ~ht_data_string().


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