diff options
author | randomdan <randomdan@localhost> | 2011-07-22 15:55:02 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-07-22 15:55:02 +0000 |
commit | 5f04b66d9592b18d37764874653adfaad47e2f19 (patch) | |
tree | 1ebc42bf4d6d68c5e2adfcd48536f84d33273060 /project2/fileStrmVarWriter.cpp | |
parent | Fix order of html and warnings flags in XslCachePopulator (diff) | |
download | project2-5f04b66d9592b18d37764874653adfaad47e2f19.tar.bz2 project2-5f04b66d9592b18d37764874653adfaad47e2f19.tar.xz project2-5f04b66d9592b18d37764874653adfaad47e2f19.zip |
Remove the pointer versions of variable type members
Add a new variable that looks up it's value in a map populated from a standard rowset
Diffstat (limited to 'project2/fileStrmVarWriter.cpp')
-rw-r--r-- | project2/fileStrmVarWriter.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/project2/fileStrmVarWriter.cpp b/project2/fileStrmVarWriter.cpp index 564c86a..1af99dc 100644 --- a/project2/fileStrmVarWriter.cpp +++ b/project2/fileStrmVarWriter.cpp @@ -53,15 +53,7 @@ void FileStreamVariableWriter::operator()(const Glib::ustring & i) const { // Care much? None of the others check. } } -void FileStreamVariableWriter::operator()(const boost::shared_ptr<const Glib::ustring> & i) const { - if (fwrite(i->c_str(), i->bytes(), 1, out) < 1) { - // Care much? None of the others check. - } -} void FileStreamVariableWriter::operator()(const boost::posix_time::ptime & i) const { fprintf(out, "[%s]", boost::posix_time::to_iso_extended_string(i).c_str()); } -void FileStreamVariableWriter::operator()(const boost::shared_ptr<const boost::posix_time::ptime> & i) const { - fprintf(out, "[%s]", boost::posix_time::to_iso_extended_string(*i).c_str()); -} |