VMime
parserHelpers Class Reference

Static Public Member Functions

static bool isSpace (const char_t c)
 
static bool isSpaceOrTab (const char_t c)
 
static bool isDigit (const char_t c)
 
static bool isAlpha (const char_t c)
 
static char_t toLower (const char_t c)
 
static bool isAscii (const char_t c)
 
static bool isPrint (const char_t c)
 
static bool findEOL (const string &buffer, const size_t currentPos, const size_t end, size_t *eol)
 

Member Function Documentation

static bool findEOL ( const string buffer,
const size_t  currentPos,
const size_t  end,
size_t eol 
)
static

Finds the next EOL sequence in the specified buffer.

An EOL sequence may be a CR+LF sequence, or a LF sequence.

Parameters
buffersearch buffer
currentPosstart searching from this position
endstop searching at this position
eolwill receive the position after the EOL sequence
Returns
true if an EOL sequence has been found, or false if no EOL sequence was found before the end of the buffer

References vmime::end().

Referenced by headerField::parseNext().

static bool isAlpha ( const char_t  c)
static

Referenced by datetime::parseImpl().

static bool isDigit ( const char_t  c)
static
static bool isPrint ( const char_t  c)
static
static bool isSpaceOrTab ( const char_t  c)
static

Referenced by body::parseImpl().

static char_t toLower ( const char_t  c)
static

Referenced by datetime::parseImpl().


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