String Class Reference

Defines a string. More...

General Functions

 String ()
 
 ~String ()
 
 String (const String &str)
 
 String (const char *data)
 
void set (const char *data)
 
const char * get () const
 
bool empty () const
 
Stringoperator= (const String &str1)
 
Stringoperator= (const char *data)
 
 operator const char * ()
 
const char * c_str () const
 
size_t size ()
 
void clear ()
 

Detailed Description

Defines a string.

Constructor and Destructor

String ( )
~String ( )
String ( const String str)
String ( const char *  data)

Functions

void set ( const char *  data)
const char* get ( ) const
bool empty ( ) const
String& operator= ( const String str1)
String& operator= ( const char *  data)
operator const char * ( )
inline
const char* c_str ( ) const
size_t size ( )
void clear ( )