From 5f04b66d9592b18d37764874653adfaad47e2f19 Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 22 Jul 2011 15:55:02 +0000 Subject: 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 --- project2/fileStrmVarWriter.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'project2/fileStrmVarWriter.cpp') 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 & 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 & i) const { - fprintf(out, "[%s]", boost::posix_time::to_iso_extended_string(*i).c_str()); -} -- cgit v1.2.3