diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-05-13 01:54:06 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-05-13 01:54:06 +0000 |
commit | eb71d88041ccbb0aec3532f9b1aa40e956e948c2 (patch) | |
tree | f2cb344f21b0cac643435701ddf4742c9a581707 /src/staticstring.h | |
parent | 3df557a87b39fc4c2ff14006506e6992d1620ab0 (diff) | |
download | libbu++-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.h | 5 |
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 | */ |
13 | class StaticString | 14 | class StaticString : public Serializable |
14 | { | 15 | { |
15 | public: | 16 | public: |
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 | |||
43 | private: | 46 | private: |
44 | char *lpStr; | 47 | char *lpStr; |
45 | int nLen; | 48 | int nLen; |