diff options
author | randomdan <randomdan@localhost> | 2011-02-17 21:00:20 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-02-17 21:00:20 +0000 |
commit | 7144304c2373f16f48b3aba7d82d3580e82c2bc0 (patch) | |
tree | 23a6704ccc4e0782c123c4c3e1c05cb6280fda38 /project2/fileStrmVarWriter.cpp | |
parent | Merge urlRows' and xslRows' CURL code into a common more fully featured (prox... (diff) | |
download | project2-7144304c2373f16f48b3aba7d82d3580e82c2bc0.tar.bz2 project2-7144304c2373f16f48b3aba7d82d3580e82c2bc0.tar.xz project2-7144304c2373f16f48b3aba7d82d3580e82c2bc0.zip |
Add a Null variable type and support for it, this is now the default
Allow all config options in the config file, even in debug (console and cgi support different things, would always break)
Allow multiple query params to be set in console mode
Allow url params to be set in console mode
Call the new dbpp finish function to do some checking
Diffstat (limited to 'project2/fileStrmVarWriter.cpp')
-rw-r--r-- | project2/fileStrmVarWriter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/project2/fileStrmVarWriter.cpp b/project2/fileStrmVarWriter.cpp index 8b5b2ec..f2c8d7f 100644 --- a/project2/fileStrmVarWriter.cpp +++ b/project2/fileStrmVarWriter.cpp @@ -15,6 +15,9 @@ FileStreamVariableWriter::~FileStreamVariableWriter() { } +void FileStreamVariableWriter::operator()(const Null &) const { + fprintf(out, "<null>"); +} void FileStreamVariableWriter::operator()(const long long int & i) const { fprintf(out, "%lld", i); } |