1/* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef STRING_UTILS_H 6#define STRING_UTILS_H 7 8#include <String.h> 9 10 11class StringUtils { 12public: 13 static uint32 HashValue(const char* string); 14 static uint32 HashValue(const BString& string); 15}; 16 17 18/*static*/ inline uint32 19StringUtils::HashValue(const BString& string) 20{ 21 return HashValue(string.String()); 22} 23 24 25#endif // STRING_UTILS_H 26