Changeset 198 for cpp/frams/util/sstring.h
- Timestamp:
- 03/25/14 18:49:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/sstring.h
r197 r198 47 47 SBuf(); 48 48 ~SBuf(); 49 unsigned long hash() const; // 32-bit FNV-1 hash -> http://en.wikipedia.org/wiki/Fowler_Noll_Vo_hash 49 50 }; 50 51 … … 174 175 int startsWith(const char *pattern) const; 175 176 char charAt(int pos) const {return buf->txt[pos];} 177 unsigned long hash() const {return buf->hash();} 176 178 177 179 static SString valueOf(int);
Note: See TracChangeset
for help on using the changeset viewer.