diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:09:04 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:09:04 +0000 |
commit | 393f1b414746a7f1977971dd7659dd2b47092b11 (patch) | |
tree | 81d0ca1ee70ab86a7d79c1991abe5c387b655fb2 /src/fstring.h | |
parent | c259f95bd0e58b247940a339bb9b4b401b4e9438 (diff) | |
parent | 7e25a863325dc3e9762397e700030969e093b087 (diff) | |
download | libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.gz libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.bz2 libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.xz libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.zip |
Wow! Merged the branch, streams are updated, and there's no more FString, run
the fixstrings.sh script in the support directory to (hopefully) automatically
update your projects.
Diffstat (limited to 'src/fstring.h')
-rw-r--r-- | src/fstring.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/fstring.h b/src/fstring.h deleted file mode 100644 index 0f9d81a..0000000 --- a/src/fstring.h +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007-2010 Xagasoft, All rights reserved. | ||
3 | * | ||
4 | * This file is part of the libbu++ library and is released under the | ||
5 | * terms of the license contained in the file LICENSE. | ||
6 | */ | ||
7 | |||
8 | #ifndef BU_F_STRING_H | ||
9 | #define BU_F_STRING_H | ||
10 | |||
11 | #include "bu/fbasicstring.h" | ||
12 | |||
13 | namespace Bu | ||
14 | { | ||
15 | typedef FBasicString<char> FString; | ||
16 | |||
17 | template<typename T> | ||
18 | uint32_t __calcHashCode( const T &k ); | ||
19 | |||
20 | template<typename T> | ||
21 | bool __cmpHashKeys( const T &a, const T &b ); | ||
22 | |||
23 | template<> uint32_t __calcHashCode<FString>( const FString &k ); | ||
24 | template<> bool __cmpHashKeys<FString>( | ||
25 | const FString &a, const FString &b ); | ||
26 | |||
27 | template<typename t> void __tracer_format( const t &v ); | ||
28 | template<> void __tracer_format<FString>( const FString &v ); | ||
29 | |||
30 | bool &operator<<( bool &dst, const FString &sIn ); | ||
31 | uint8_t &operator<<( uint8_t &dst, const FString &sIn ); | ||
32 | int8_t &operator<<( int8_t &dst, const FString &sIn ); | ||
33 | char &operator<<( char &dst, const FString &sIn ); | ||
34 | uint16_t &operator<<( uint16_t &dst, const FString &sIn ); | ||
35 | int16_t &operator<<( int16_t &dst, const FString &sIn ); | ||
36 | uint32_t &operator<<( uint32_t &dst, const FString &sIn ); | ||
37 | int32_t &operator<<( int32_t &dst, const FString &sIn ); | ||
38 | uint64_t &operator<<( uint64_t &dst, const FString &sIn ); | ||
39 | int64_t &operator<<( int64_t &dst, const FString &sIn ); | ||
40 | float &operator<<( float &dst, const FString &sIn ); | ||
41 | double &operator<<( double &dst, const FString &sIn ); | ||
42 | long double &operator<<( long double &dst, const FString &sIn ); | ||
43 | Bu::FString &operator<<( Bu::FString &dst, const FString &sIn ); | ||
44 | |||
45 | } | ||
46 | |||
47 | /***** I dunno about this block, I don't really want to have it... ***** | ||
48 | #include <ostream> | ||
49 | std::basic_ostream<char>& operator<< (std::basic_ostream<char> &os, | ||
50 | const Bu::FString &val ); | ||
51 | */ | ||
52 | |||
53 | #endif | ||