diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2008-12-12 08:13:34 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2008-12-12 08:13:34 +0000 |
| commit | 7c8e31fc057859d08610f17f669fdfcaf2fc2956 (patch) | |
| tree | 2d645e85abab60a40091f3e676fcae78fe477148 /src/cachecalc.h | |
| parent | a36df989b1a603474345d792a1f9bc7d375a59ef (diff) | |
| download | libbu++-7c8e31fc057859d08610f17f669fdfcaf2fc2956.tar.gz libbu++-7c8e31fc057859d08610f17f669fdfcaf2fc2956.tar.bz2 libbu++-7c8e31fc057859d08610f17f669fdfcaf2fc2956.tar.xz libbu++-7c8e31fc057859d08610f17f669fdfcaf2fc2956.zip | |
All of those changes I thought I'd already committed. The taf writer handles
binary data much better, actually escaping it properly and not stopping on null.
Bu::FString has an iterator, it's actually just a raw datatype, but it may have
more function later, so careful assuming that it's a char and using it in any
non-iterator like way.
Also augmented the taf unit test, and added the Bu::CacheCalc base class, the
rest of the simple develpment cycle will happen between here and project hhp.
Diffstat (limited to '')
| -rw-r--r-- | src/cachecalc.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/cachecalc.h b/src/cachecalc.h new file mode 100644 index 0000000..9e83b06 --- /dev/null +++ b/src/cachecalc.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | #ifndef BU_CACHE_CALC_H | ||
| 2 | #define BU_CACHE_CALC_H | ||
| 3 | |||
| 4 | namespace Bu | ||
| 5 | { | ||
| 6 | template<class type> | ||
| 7 | class CacheCalc | ||
| 8 | { | ||
| 9 | public: | ||
| 10 | CacheCalc() | ||
| 11 | { | ||
| 12 | } | ||
| 13 | |||
| 14 | virtual ~CacheCalc() | ||
| 15 | { | ||
| 16 | } | ||
| 17 | |||
| 18 | private: | ||
| 19 | }; | ||
| 20 | }; | ||
| 21 | |||
| 22 | #endif | ||
