diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-02-28 07:40:56 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-02-28 07:40:56 +0000 |
commit | 9e85e4d8f31fcfa97cc95e43fa8c3b51434dcb7b (patch) | |
tree | 1a3ce94eec484c06427d89e8e30a38c7f90d306c /src/staticstring.h | |
parent | 8a51dd0db9176a56c482ca5cecb5051d2b6848ba (diff) | |
download | libbu++-9e85e4d8f31fcfa97cc95e43fa8c3b51434dcb7b.tar.gz libbu++-9e85e4d8f31fcfa97cc95e43fa8c3b51434dcb7b.tar.bz2 libbu++-9e85e4d8f31fcfa97cc95e43fa8c3b51434dcb7b.tar.xz libbu++-9e85e4d8f31fcfa97cc95e43fa8c3b51434dcb7b.zip |
Made updates to the staticstring, it works better with const situations now...
Diffstat (limited to 'src/staticstring.h')
-rw-r--r-- | src/staticstring.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/staticstring.h b/src/staticstring.h index 0d155c4..4c3f7b8 100644 --- a/src/staticstring.h +++ b/src/staticstring.h | |||
@@ -20,11 +20,13 @@ public: | |||
20 | StaticString( const char *lpNewStr ); | 20 | StaticString( const char *lpNewStr ); |
21 | StaticString( StaticString &xSrcStr, int nNewLen ); | 21 | StaticString( StaticString &xSrcStr, int nNewLen ); |
22 | StaticString( StaticString &xSrcStr ); | 22 | StaticString( StaticString &xSrcStr ); |
23 | StaticString( const StaticString &xSrcStr ); | ||
23 | StaticString( int nLength ); | 24 | StaticString( int nLength ); |
24 | virtual ~StaticString(); | 25 | virtual ~StaticString(); |
25 | 26 | ||
26 | char *getString(); | 27 | char *getString(); |
27 | int getLength(); | 28 | const char *getString() const; |
29 | int getLength() const; | ||
28 | void setLength( int nNewLength ); | 30 | void setLength( int nNewLength ); |
29 | 31 | ||
30 | void setString( const char *lpNewStr, int nNewLen=-1 ); | 32 | void setString( const char *lpNewStr, int nNewLen=-1 ); |