summaryrefslogtreecommitdiff
path: root/src/staticstring.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-05-13 01:54:06 +0000
committerMike Buland <eichlan@xagasoft.com>2006-05-13 01:54:06 +0000
commiteb71d88041ccbb0aec3532f9b1aa40e956e948c2 (patch)
treef2cb344f21b0cac643435701ddf4742c9a581707 /src/staticstring.h
parent3df557a87b39fc4c2ff14006506e6992d1620ab0 (diff)
downloadlibbu++-eb71d88041ccbb0aec3532f9b1aa40e956e948c2.tar.gz
libbu++-eb71d88041ccbb0aec3532f9b1aa40e956e948c2.tar.bz2
libbu++-eb71d88041ccbb0aec3532f9b1aa40e956e948c2.tar.xz
libbu++-eb71d88041ccbb0aec3532f9b1aa40e956e948c2.zip
Changed some things in the serializer...it's cool
Diffstat (limited to 'src/staticstring.h')
-rw-r--r--src/staticstring.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/staticstring.h b/src/staticstring.h
index 88cae70..1c98b3c 100644
--- a/src/staticstring.h
+++ b/src/staticstring.h
@@ -2,6 +2,7 @@
2#define STATIC_STRING_H 2#define STATIC_STRING_H
3 3
4#include <string> 4#include <string>
5#include "serializable.h"
5 6
6/** 7/**
7 * Simple string managing class. Allows for dynamically allocated string data 8 * Simple string managing class. Allows for dynamically allocated string data
@@ -10,7 +11,7 @@
10 * and making accessing meta-info like length fast and reliable as well. 11 * and making accessing meta-info like length fast and reliable as well.
11 *@author Mike Buland 12 *@author Mike Buland
12 */ 13 */
13class StaticString 14class StaticString : public Serializable
14{ 15{
15public: 16public:
16 StaticString(); 17 StaticString();
@@ -40,6 +41,8 @@ public:
40 41
41 void clear(); 42 void clear();
42 43
44 virtual void serialize( class Serializer &ar );
45
43private: 46private:
44 char *lpStr; 47 char *lpStr;
45 int nLen; 48 int nLen;