#include <ctype.h>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <ext/hash_set>
#include <ext/hash_map>
Go to the source code of this file.
Namespaces | |
| namespace | oasys |
Classes | |
| struct | oasys::StringHash |
| Hashing function class for std::strings. More... | |
| struct | oasys::StringLessThan |
| Less than function. More... | |
| struct | oasys::StringGreaterThan |
| Greater than function. More... | |
| struct | oasys::StringEquals |
| Equality function class for std::strings. More... | |
| class | oasys::StringSet |
| A StringSet is a set with std::string members. More... | |
| class | oasys::StringMap< _Type > |
| A StringMap is a map with std::string keys. More... | |
| class | oasys::StringMultiMap< _Type > |
| A StringMultiMap is a multimap with std::string keys. More... | |
| class | oasys::StringHashSet |
| A StringHashSet is a hash set with std::string members. More... | |
| class | oasys::StringHashMap< _Type > |
| A StringHashMap is a hash map with std::string keys. More... | |
| class | oasys::StringVector |
| A StringVector is a std::vector of std::strings. More... | |
Defines | |
| #define | _std __gnu_cxx |
| Utilities and stl typedefs for basic_string. | |
| #define | HEXTONUM(x) ((x) < 'a' ? (x) - '0' : x - 'a' + 10) |
| #define | to_char(n) ((n) + '0') |
Functions | |
| int | oasys::tokenize (const std::string &str, const std::string &sep, std::vector< std::string > *tokens) |
| Tokenize a single string into a vector. | |
| void | oasys::hex2str (std::string *str, const u_char *bp, size_t len) |
| Generate a hex string from a binary buffer. | |
| void | oasys::str2hex (const std::string &str, u_char *bp, size_t len) |
| Parse a hex string into a binary buffer. | |
| bool | oasys::str_isascii (const u_char *bp, size_t len) |
| Return true if the string contains only printable characters. | |
| size_t | oasys::fast_ultoa (unsigned long val, int base, char *endp) |
| Convert an unsigned long to ascii in the given base. | |
| #define _std __gnu_cxx |
| #define HEXTONUM | ( | x | ) | ((x) < 'a' ? (x) - '0' : x - 'a' + 10) |
Referenced by oasys::str2hex().
| #define to_char | ( | n | ) | ((n) + '0') |
Referenced by oasys::fast_ultoa().
1.5.1