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

iutk::String Class Reference

#include <istring.h>

List of all members.


Detailed Description

A string class.

This class might not provide all the functions desirous of a normal string class. It is only intended to support the ImprolaLib and its dependents.


Public Member Functions

 String (void)
 Default Constructor.
Creates an empty string.

 String (const char *str)
 Initialiser.

 String (const String &s)
 Copy constructor.

 ~String ()
 Destructor.

void setData (const char *str)
 Sets the string data.

char * getData (void)
 Returns the string data held by the object.

void operator= (String s)
 Overloaded assignment operator.
It is only a reference copier.


Constructor & Destructor Documentation

iutk::String::String const char *  str  ) 
 

Initialiser.


String is initialised by the argument to the constructor.

iutk::String::String const String s  ) 
 

Copy constructor.


It is only a reference copier. i.e, after the initialisation of the object, the object and the old object share the same data.


Member Function Documentation

void iutk::String::operator= String  s  ) 
 

Overloaded assignment operator.
It is only a reference copier.

The lvalue and the rvalue of the operator share the same data after assignment.


The documentation for this class was generated from the following file:
Generated on Mon Nov 22 11:12:42 2004 for ImprolaLib by doxygen 1.3.7