summaryrefslogtreecommitdiff
path: root/src/fstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fstring.h')
-rw-r--r--src/fstring.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/fstring.h b/src/fstring.h
new file mode 100644
index 0000000..a6ec010
--- /dev/null
+++ b/src/fstring.h
@@ -0,0 +1,30 @@
1#ifndef F_STRING_H
2#define F_STRING_H
3
4#include <stdint.h>
5
6/**
7 *
8 */
9template< typename chr, typename chralloc = std::allocator<chr> >
10class FString
11{
12public:
13 FString() :
14 pData( NULL ),
15 pnRefs( NULL )
16 {
17 }
18
19 virtual ~FString()
20 {
21 }
22
23private:
24 long nLength;
25 chr *pData;
26 uint32_t *pnRefs;
27 chralloc aChars;
28};
29
30#endif