[Gcblue-commits] gcb_wx/include/common tcStream.h,1.3,1.4
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-05-01 21:49:31
|
Update of /cvsroot/gcblue/gcb_wx/include/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7022/include/common Modified Files: tcStream.h Log Message: Index: tcStream.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/common/tcStream.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tcStream.h 23 Apr 2004 00:14:56 -0000 1.3 --- tcStream.h 1 May 2004 21:49:23 -0000 1.4 *************** *** 1,7 **** #include <sstream> ! class tcStream : private std::stringstream { public: --- 1,33 ---- + /* + ** @file tcStream.h + ** + ** Copyright (C) 2004 Dewitt Colclough (de...@tw...) + ** All rights reserved. + + ** This file is part of the Global Conflict Blue (GCB) program. + ** GCB is free software; you can redistribute it and/or modify + ** it under the terms of version 2 of the GNU General Public License as + ** published by the Free Software Foundation. + + ** GCB is distributed in the hope that it will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ** GNU General Public License for more details. + + ** You should have received a copy of the GNU General Public License + ** along with GCB; if not, write to the Free Software + ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _TCSTREAM_H_ + #define _TCSTREAM_H_ + + #if _MSC_VER > 1000 + #pragma once + #endif // _MSC_VER > 1000 #include <sstream> ! class tcStream : protected std::stringstream { public: *************** *** 46,53 **** tcStream(const char* data, std::streamsize count); ///< creates stream from char array tcStream(); private: int detailLevel; ! }; \ No newline at end of file --- 72,81 ---- tcStream(const char* data, std::streamsize count); ///< creates stream from char array + tcStream(const tcStream& stream); tcStream(); private: int detailLevel; + }; ! #endif \ No newline at end of file |