0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Typedefs | Functions
StringExt.h File Reference

String extensions and helpers: sets, maps, append operators etc. More...

#include <Common/String.h>
#include <cstdio>
#include <set>
#include <map>
Include dependency graph for StringExt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LtCstr
 STL Strict Weak Ordering for comparing c-style strings. More...
 

Typedefs

typedef std::set< StringStringSet
 STL Set managing Strings. More...
 
typedef std::set< const char
*, LtCstr
CstrSet
 STL Set managing c-style strings. More...
 
typedef std::map< const char
*, int32_t, LtCstr
CstrToInt32Map
 STL map from c-style string to int32_t. More...
 
typedef std::map< const char
*, int64_t, LtCstr
CstrToInt64MapT
 STL map from c-style string to int64_t. More...
 

Functions

String operator+ (const String &s1, short sval)
 Append operator for shorts. More...
 
String operator+ (const String &s1, uint16_t sval)
 Append operator for ushorts. More...
 
String operator+ (const String &s1, int ival)
 Append operator for integers. More...
 
String operator+ (const String &s1, uint32_t ival)
 Append operator for unsigned integers. More...
 
String operator+ (const String &s1, int64_t llval)
 Append operator for 64bit integers. More...
 
String operator+ (const String &s1, uint64_t llval)
 Append operator for 64bit unsigned integers. More...
 

Detailed Description

String extensions and helpers: sets, maps, append operators etc.

Definition in file StringExt.h.