myTinySQL v0.2.0-2-g5000098
A tiny SQL interpreter over fixed-width text files
Loading...
Searching...
No Matches
Functions
tinysql::anonymous_namespace{Util.cpp} Namespace Reference

Functions

bool isSpace (char c)
 Tells whether a character is whitespace for trimming.
 
char upper (unsigned char c)
 Upper-cases one ASCII character.
 

Function Documentation

◆ isSpace()

bool tinysql::anonymous_namespace{Util.cpp}::isSpace ( char  c)

Tells whether a character is whitespace for trimming.

Parameters
cThe character.
Returns
True for space, tab, carriage return and line feed.

Definition at line 17 of file Util.cpp.

◆ upper()

char tinysql::anonymous_namespace{Util.cpp}::upper ( unsigned char  c)

Upper-cases one ASCII character.

Parameters
cThe character, as unsigned char so that std::toupper is safe for any byte.
Returns
The upper-case character.

Definition at line 22 of file Util.cpp.