diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-11 13:27:30 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-11 13:27:30 +0000 |
commit | 1300301a52bba102fed8b08bdcb668d246973af5 (patch) | |
tree | bd64c93b000b5637cb185d704714ac6a634603a2 /src/formatter.h | |
parent | 70be76029b39d9d909ce9c069c1564d5d476fc22 (diff) | |
download | libbu++-1300301a52bba102fed8b08bdcb668d246973af5.tar.gz libbu++-1300301a52bba102fed8b08bdcb668d246973af5.tar.bz2 libbu++-1300301a52bba102fed8b08bdcb668d246973af5.tar.xz libbu++-1300301a52bba102fed8b08bdcb668d246973af5.zip |
Fixed an issue in the reader, it was tokenizing.
Diffstat (limited to 'src/formatter.h')
-rw-r--r-- | src/formatter.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/formatter.h b/src/formatter.h index 47592ad..7e0c54b 100644 --- a/src/formatter.h +++ b/src/formatter.h | |||
@@ -32,7 +32,8 @@ namespace Bu | |||
32 | uRadix( 10 ), | 32 | uRadix( 10 ), |
33 | uAlign( Right ), | 33 | uAlign( Right ), |
34 | bPlus( false ), | 34 | bPlus( false ), |
35 | bCaps( true ) | 35 | bCaps( true ), |
36 | bTokenize( true ) | ||
36 | { | 37 | { |
37 | } | 38 | } |
38 | 39 | ||
@@ -44,7 +45,8 @@ namespace Bu | |||
44 | uRadix( uRadix ), | 45 | uRadix( uRadix ), |
45 | uAlign( a ), | 46 | uAlign( a ), |
46 | bPlus( bPlus ), | 47 | bPlus( bPlus ), |
47 | bCaps( bCaps ) | 48 | bCaps( bCaps ), |
49 | bTokenize( true ) | ||
48 | { | 50 | { |
49 | } | 51 | } |
50 | Fmt( unsigned int uMinWidth, Alignment a, | 52 | Fmt( unsigned int uMinWidth, Alignment a, |
@@ -55,7 +57,8 @@ namespace Bu | |||
55 | uRadix( uRadix ), | 57 | uRadix( uRadix ), |
56 | uAlign( a ), | 58 | uAlign( a ), |
57 | bPlus( bPlus ), | 59 | bPlus( bPlus ), |
58 | bCaps( bCaps ) | 60 | bCaps( bCaps ), |
61 | bTokenize( true ) | ||
59 | { | 62 | { |
60 | } | 63 | } |
61 | 64 | ||
@@ -85,6 +88,7 @@ namespace Bu | |||
85 | Fmt &align( Alignment eAlign ); | 88 | Fmt &align( Alignment eAlign ); |
86 | Fmt &plus( bool bPlus=true ); | 89 | Fmt &plus( bool bPlus=true ); |
87 | Fmt &caps( bool bCaps=true ); | 90 | Fmt &caps( bool bCaps=true ); |
91 | Fmt &tokenize( bool bTokenize=true ); | ||
88 | 92 | ||
89 | Fmt &left(); | 93 | Fmt &left(); |
90 | Fmt &right(); | 94 | Fmt &right(); |
@@ -96,6 +100,7 @@ namespace Bu | |||
96 | unsigned short uAlign : 2; | 100 | unsigned short uAlign : 2; |
97 | unsigned short bPlus : 1; | 101 | unsigned short bPlus : 1; |
98 | unsigned short bCaps : 1; | 102 | unsigned short bCaps : 1; |
103 | unsigned short bTokenize : 1; | ||
99 | } Fmt; | 104 | } Fmt; |
100 | 105 | ||
101 | void write( const Bu::FString &sStr ); | 106 | void write( const Bu::FString &sStr ); |