Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

BasicObject.cpp

Go to the documentation of this file.
00001 #include "BasicObject.h"
00002 #include <sstream>
00003 
00004 using namespace std;
00005 
00006 string
00007 BasicObject::toString() {
00008     stringstream stream;
00009     stream << *this;
00010     return stream.str();
00011 } // fn toString
00012 
00013 
00014 void 
00015 BasicObject::toStream(std::ostream& out) {
00016     out << "\n(Please override BasicObject.toStream)\n";
00017 } // toStream
00018 
00019 
00020 ostream& operator<<(std::ostream& out, BasicObject& bo) {
00021     bo.toStream(out);
00022     return out;
00023 } // fn <<
00024 
00025 

Generated at Thu Jul 11 13:31:49 2002 for Peekabooty by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001