Evo C++ Library v0.5.1
Classes | Namespaces | Macros | Functions
strscan.h File Reference

Evo string scanning helpers with SSE optimized code. More...

#include "type.h"
#include "impl/str.h"
#include <string.h>

Go to the source code of this file.

Classes

struct  StrQuoting
 Helpers for determining quoting type to use with string data. More...
 

Namespaces

 evo
 Evo C++ Library namespace.
 

Macros

#define INCL_evo_impl_strscan_h
 

Functions

bool str_scan_backtickdel (const char *str, const char *end)
 Scan string for a Backtick + DEL pair. More...
 
template<class T >
const char * str_scan_decimal (T &num, const char *str, const char *end)
 Scan string pointer for decimal number and return stop pointer. More...
 
const char * str_scan_delim (const char *str, const char *end, char delim1, char delim2)
 Scan string pointer for next delimiter and return stop pointer. More...
 
const char * str_scan_delim (const char *str, const char *end, const char *delims, uint delim_count)
 Scan string pointer for next delimiter and return stop pointer. More...
 
const char * str_scan_delim_r (const char *str, const char *end, char delim1, char delim2)
 Scan string pointer for next delimiter in reverse and return new end after stop pointer. More...
 
const char * str_scan_delim_r (const char *str, const char *end, const char *delims, uint delim_count)
 Scan string pointer for next delimiter in reverse and return new end after stop pointer. More...
 
const char * str_scan_endq (const char *&startq, const char *&endq, const char *str, const char *end)
 Scan string pointer and extract quoted or unquoted text. More...
 
const char * str_scan_endq (const char *&startq, const char *&endq, const char *str, const char *end, char delim)
 Scan string pointer and extract quoted or unquoted text with a delimiter. More...
 
const char * str_scan_endq (const char *&startq, const char *&endq, const char *str, const char *end, char delim1, char delim2)
 Scan string pointer and extract quoted or unquoted text with 2 possible delimiters. More...
 
const char * str_scan_endq (const char *&startq, const char *&endq, const char *str, const char *end, const char *delims, uint delim_count, char ws_delim=0)
 Scan string pointer and extract quoted or unquoted text with multiple possible delimiters. More...
 
const char * str_scan_endq_r (const char *&startq, const char *&endq, const char *str, const char *end, char delim)
 Scan string pointer in reverse and extract quoted or unquoted text with a delimiter and return new end after stop pointer. More...
 
const char * str_scan_endq_r (const char *&startq, const char *&endq, const char *str, const char *end, const char *delims, uint delim_count, char ws_delim=0)
 Scan string pointer in reverse and extract quoted or unquoted text with multiple possible delimiters and return new end after stop pointer. More...
 
template<class T >
const char * str_scan_hex (T &num, const char *str, const char *end)
 Scan string pointer for hex number and return stop pointer. More...
 
const char * str_scan_ndelim (const char *str, const char *end, char delim1, char delim2)
 Scan string pointer for next non-delimiter and return stop pointer. More...
 
const char * str_scan_ndelim_r (const char *str, const char *end, char delim1, char delim2)
 Scan string pointer for next non-delimiter in reverse and return new end after stop pointer. More...
 
const char * str_scan_nws (const char *str, const char *end)
 Scan string pointer for next non-whitespace character and return stop pointer. More...
 
const char * str_scan_nws (const char *str, const char *end, char delim)
 Scan string pointer for next delimiter or non-whitespace character and return stop pointer. More...
 
const char * str_scan_nws_r (const char *str, const char *end)
 Scan string pointer for next non-whitespace character in reverse and return new end after stop pointer. More...
 
const char * str_scan_nws_r (const char *str, const char *end, char delim)
 Scan string pointer for next delimiter or non-whitespace character and return stop pointer. More...
 
const char * str_scan_to (uint maxlen, const char *str, const char *end, char ch)
 Scan string pointer for char and return stop pointer. More...
 
const char * str_scan_to (uint maxlen, const char *str, const char *end, char ch1, char ch2)
 Scan string pointer for either of 2 chars and return stop pointer. More...
 

Detailed Description

Evo string scanning helpers with SSE optimized code.

Macro Definition Documentation

◆ INCL_evo_impl_strscan_h

#define INCL_evo_impl_strscan_h