Guitar
Static Public Member Functions | List of all members
HtmlEncode Class Reference

#include <htmlencode.h>

Static Public Member Functions

static void vecprint (std::vector< char > *out, char c)
 
static void vecprint (std::vector< char > *out, char const *s)
 
static std::string_view to_string (std::vector< char > const &vec)
 
static void html_encode_ (char const *ptr, char const *end, bool utf8through, std::vector< char > *vec)
 
static void html_decode_ (char const *ptr, char const *end, std::vector< char > *vec)
 
static std::string html_encode (char const *ptr, char const *end, bool utf8through)
 
static std::string html_decode (char const *ptr, char const *end)
 
static std::string html_encode (char const *ptr, size_t len, bool utf8through)
 
static std::string html_decode (char const *ptr, size_t len)
 
static std::string html_encode (char const *ptr, bool utf8through)
 
static std::string html_decode (char const *ptr)
 
static std::string html_encode (std::string_view const &str, bool utf8through)
 
static std::string html_decode (std::string_view const &str)
 

Member Function Documentation

◆ html_decode() [1/4]

static std::string HtmlEncode::html_decode ( char const *  ptr)
inlinestatic
Here is the call graph for this function:

◆ html_decode() [2/4]

static std::string HtmlEncode::html_decode ( char const *  ptr,
char const *  end 
)
inlinestatic
Here is the call graph for this function:

◆ html_decode() [3/4]

static std::string HtmlEncode::html_decode ( char const *  ptr,
size_t  len 
)
inlinestatic
Here is the call graph for this function:

◆ html_decode() [4/4]

static std::string HtmlEncode::html_decode ( std::string_view const &  str)
inlinestatic
Here is the call graph for this function:

◆ html_decode_()

static void HtmlEncode::html_decode_ ( char const *  ptr,
char const *  end,
std::vector< char > *  vec 
)
inlinestatic
Here is the call graph for this function:

◆ html_encode() [1/4]

static std::string HtmlEncode::html_encode ( char const *  ptr,
bool  utf8through 
)
inlinestatic
Here is the call graph for this function:

◆ html_encode() [2/4]

static std::string HtmlEncode::html_encode ( char const *  ptr,
char const *  end,
bool  utf8through 
)
inlinestatic
Here is the call graph for this function:

◆ html_encode() [3/4]

static std::string HtmlEncode::html_encode ( char const *  ptr,
size_t  len,
bool  utf8through 
)
inlinestatic
Here is the call graph for this function:

◆ html_encode() [4/4]

static std::string HtmlEncode::html_encode ( std::string_view const &  str,
bool  utf8through 
)
inlinestatic
Here is the call graph for this function:

◆ html_encode_()

static void HtmlEncode::html_encode_ ( char const *  ptr,
char const *  end,
bool  utf8through,
std::vector< char > *  vec 
)
inlinestatic
Here is the call graph for this function:

◆ to_string()

static std::string_view HtmlEncode::to_string ( std::vector< char > const &  vec)
inlinestatic

◆ vecprint() [1/2]

static void HtmlEncode::vecprint ( std::vector< char > *  out,
char  c 
)
inlinestatic

◆ vecprint() [2/2]

static void HtmlEncode::vecprint ( std::vector< char > *  out,
char const *  s 
)
inlinestatic

The documentation for this class was generated from the following file: