#include <string>
#include <iostream>
#include "libpq++.h"
Enumerations | |
enum | { MIN_WORD_LENGTH = 2, MAX_WORD_LENGTH = 40 } |
Functions | |
string | toLower (string) |
bool | is_non_text ( char c ) |
Determines if a character is a non-text character. More... | |
void | skip_non_text ( istream & i ) |
Read ahead in istream and skip any whitespace. | |
string | get_word ( istream & i ) |
Get the next word from an istream. | |
bool | is_number ( string word ) |
Determine if string contains only digits. | |
int | do_query (PgDatabase & data, const char * query ) |
|
|
|
|
|
Get the next word from an istream.
|
|
Determines if a character is a non-text character. Will eventually be extended to support multi-byte characters |
|
Determine if string contains only digits.
|
|
Read ahead in istream and skip any whitespace.
|
|
|