diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
commit | f5aca1a1b402bd7ebc944dc6e6fe65828d863365 (patch) | |
tree | 4a0fdd8e166d5c4b03543279d332b9a858ef62df /src/fstring.h | |
parent | 10c557562e1d67c55314c212371ea9cb7f802863 (diff) | |
download | libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.gz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.bz2 libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.xz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.zip |
Bu::FString is now String, and there's a shell script to fix any other programs
that were using fstring, I hope.
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 | ||