diff options
author | Mike Buland <mbuland@penny-arcade.com> | 2023-04-24 09:16:32 -0700 |
---|---|---|
committer | Mike Buland <mbuland@penny-arcade.com> | 2023-04-24 09:16:32 -0700 |
commit | e1115a28535663cfe404791ede5bb7ca70399053 (patch) | |
tree | b9d273abd126e410fb59d39d9c99072149a14c5c /src/unstable/blob.h | |
parent | 44409ec7257cb20ff091079eb55dc7a8d4049cf9 (diff) | |
download | libbu++-e1115a28535663cfe404791ede5bb7ca70399053.tar.gz libbu++-e1115a28535663cfe404791ede5bb7ca70399053.tar.bz2 libbu++-e1115a28535663cfe404791ede5bb7ca70399053.tar.xz libbu++-e1115a28535663cfe404791ede5bb7ca70399053.zip |
Additions to blob/utfstring for json.
Diffstat (limited to 'src/unstable/blob.h')
-rw-r--r-- | src/unstable/blob.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/unstable/blob.h b/src/unstable/blob.h index d6c40e3..bda29d6 100644 --- a/src/unstable/blob.h +++ b/src/unstable/blob.h | |||
@@ -100,6 +100,8 @@ namespace Bu | |||
100 | iterator &operator++(); | 100 | iterator &operator++(); |
101 | iterator &operator--( int32_t ); | 101 | iterator &operator--( int32_t ); |
102 | iterator &operator--(); | 102 | iterator &operator--(); |
103 | iterator &operator+=( int32_t iDelta ); | ||
104 | iterator &operator-=( int32_t iDelta ); | ||
103 | iterator operator+( int32_t iDelta ) const; | 105 | iterator operator+( int32_t iDelta ) const; |
104 | iterator operator-( int32_t iDelta ) const; | 106 | iterator operator-( int32_t iDelta ) const; |
105 | bool operator==( const iterator &rRhs ); | 107 | bool operator==( const iterator &rRhs ); |
@@ -107,7 +109,7 @@ namespace Bu | |||
107 | bool operator!=( const iterator &rRhs ); | 109 | bool operator!=( const iterator &rRhs ); |
108 | bool operator!=( const const_iterator &rRhs ); | 110 | bool operator!=( const const_iterator &rRhs ); |
109 | 111 | ||
110 | iterator &operator=( iterator &rRhs ); | 112 | iterator &operator=( const iterator &rRhs ); |
111 | 113 | ||
112 | private: | 114 | private: |
113 | Blob *pBlob; | 115 | Blob *pBlob; |
@@ -136,6 +138,8 @@ namespace Bu | |||
136 | const_iterator &operator++(); | 138 | const_iterator &operator++(); |
137 | const_iterator &operator--( int32_t ); | 139 | const_iterator &operator--( int32_t ); |
138 | const_iterator &operator--(); | 140 | const_iterator &operator--(); |
141 | const_iterator &operator+=( int32_t iDelta ); | ||
142 | const_iterator &operator-=( int32_t iDelta ); | ||
139 | const_iterator operator+( int32_t iDelta ) const; | 143 | const_iterator operator+( int32_t iDelta ) const; |
140 | const_iterator operator-( int32_t iDelta ) const; | 144 | const_iterator operator-( int32_t iDelta ) const; |
141 | bool operator==( const iterator &rRhs ); | 145 | bool operator==( const iterator &rRhs ); |
@@ -143,8 +147,8 @@ namespace Bu | |||
143 | bool operator!=( const iterator &rRhs ); | 147 | bool operator!=( const iterator &rRhs ); |
144 | bool operator!=( const const_iterator &rRhs ); | 148 | bool operator!=( const const_iterator &rRhs ); |
145 | 149 | ||
146 | const_iterator &operator=( iterator &rRhs ); | 150 | const_iterator &operator=( const iterator &rRhs ); |
147 | const_iterator &operator=( const_iterator &rRhs ); | 151 | const_iterator &operator=( const const_iterator &rRhs ); |
148 | 152 | ||
149 | private: | 153 | private: |
150 | const Blob *pBlob; | 154 | const Blob *pBlob; |