ZNC  trunk
Classes | Macros | Typedefs | Enumerations
ZNCString.h File Reference
#include <znc/zncconfig.h>
#include <map>
#include <set>
#include <string>
#include <vector>
#include <sstream>
#include <sys/types.h>
#include <initializer_list>
+ Include dependency graph for ZNCString.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CString
 String class that is used inside ZNC. More...
 
class  MCString
 A dictionary for strings. More...
 
struct  std::hash< CString >
 
class  CInlineFormatMessage
 

Macros

#define _SQL(s)   CString("'" + CString(s).Escape_n(CString::ESQL) + "'")
 
#define _URL(s)   CString(s).Escape_n(CString::EURL)
 
#define _HTML(s)   CString(s).Escape_n(CString::EHTML)
 
#define _NAMEDFMT(s)   CString(s).Escape_n(CString::ENAMEDFMT)
 

Typedefs

typedef std::set< CStringSCString
 
typedef std::vector< CStringVCString
 
typedef std::vector< std::pair< CString, CString > > VPair
 

Enumerations

enum class  CaseSensitivity { CaseInsensitive , CaseSensitive }
 

Macro Definition Documentation

◆ _HTML

#define _HTML (   s)    CString(s).Escape_n(CString::EHTML)

◆ _NAMEDFMT

#define _NAMEDFMT (   s)    CString(s).Escape_n(CString::ENAMEDFMT)

◆ _SQL

#define _SQL (   s)    CString("'" + CString(s).Escape_n(CString::ESQL) + "'")

◆ _URL

#define _URL (   s)    CString(s).Escape_n(CString::EURL)

Typedef Documentation

◆ SCString

typedef std::set<CString> SCString

◆ VCString

typedef std::vector<CString> VCString

◆ VPair

typedef std::vector<std::pair<CString, CString> > VPair

Enumeration Type Documentation

◆ CaseSensitivity

enum CaseSensitivity
strong
Enumerator
CaseInsensitive 
CaseSensitive