StringBuffer.h

Go to the documentation of this file.
00001 /*
00002  * $Id: StringBuffer.h 562 2007-12-02 08:04:16Z mindstorm2600 $
00003  *
00004  * X-VR2 
00005  * 
00006  * Copyright (C) Juan V. Guerrero 2007
00007  * 
00008  * Juan V. Guerrero <mindstorm2600@users.sourceforge.net>
00009  * 
00010  * This program is free software, distributed under the terms of
00011  * the GNU General Public License Version 2. See the LICENSE file
00012  * at the top of the source tree.
00013  */
00014 #ifndef __XVR2_STRING_BUFFER_H__
00015 #define __XVR2_STRING_BUFFER_H__
00016 #include<xvr2/String.h>
00017 #define __XVR2_ENABLE_BASIC_STRING_BUFFER__
00018 #include<xvr2/BasicStringBuffer.h>
00019 namespace xvr2 {
00020         class StringBuffer : public BasicStringBuffer<String>{
00021                 public:
00022                         StringBuffer();
00023                         StringBuffer(const StringBuffer &s);
00024                         StringBuffer(const String &s);
00025                         const char operator[](int idx) const;
00026                         const char operator[](int idx);
00027                         const char *toCharPtr() const;
00028                         StringBuffer &operator<<(const String &s);
00029                         virtual std::string toString() const;
00031                         void eat(char *data, int len);
00032         };
00033 }
00034 
00035 #endif

Generated on Fri Jun 20 22:55:47 2008 for X-VR2 SDK by  doxygen 1.5.5