Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

cmt_string.cxx File Reference

#include <stdio.h>
#include <stdlib.h>
#include "cmt_std.h"
#include "cmt_string.h"

Include dependency graph for cmt_string.cxx:

Include dependency graph

Go to the source code of this file.

Functions

ostream& operator<< (ostream& o, const cmt_string& s)
cmt_string operator+ (const char* text, const cmt_string& s)
cmt_string operator+ (char c, const cmt_string& s)


Function Documentation

cmt_string operator+ ( char c,
const cmt_string & s )
 

Definition at line 705 of file cmt_string.cxx.

00706 {
00707   cmt_string result = c;
00708   result += s;
00709   return (result);
00710 }

cmt_string operator+ ( const char * text,
const cmt_string & s )
 

Definition at line 698 of file cmt_string.cxx.

00699 {
00700   cmt_string result = text;
00701   result += s;
00702   return (result);
00703 }

ostream & operator<< ( ostream & o,
const cmt_string & s )
 

Definition at line 692 of file cmt_string.cxx.

00693 {
00694   o << (const char*) s;
00695   return (o);
00696 }


Generated at Thu Apr 11 16:50:12 2002 for CMT by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000