Update of /cvsroot/gcblue/gcb_wx/include/database
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9432
Modified Files:
tcDBObjSerializer.h
Log Message:
+ added ifdef MSV for #pragma once instruction
+ added std:: namespace declaration where needed
Index: tcDBObjSerializer.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcDBObjSerializer.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tcDBObjSerializer.h 30 Nov 2003 17:23:53 -0000 1.1
--- tcDBObjSerializer.h 28 Mar 2004 18:45:34 -0000 1.2
***************
*** 23,27 ****
--- 23,29 ----
#define _DBOBJSERIALIZER_H_
+ #if _MSC_VER > 1000
#pragma once
+ #endif // _MSC_VER > 1000
#include "tcDatabase.h"
***************
*** 56,60 ****
bool tcDBObjSerializer<T>::LoadCsv()
{
! ifstream infile;
CsvTranslator csv;
std::string errorString = "Error - tcDatabase::SerializeCSV - error with file: ";
--- 58,62 ----
bool tcDBObjSerializer<T>::LoadCsv()
{
! std::ifstream infile;
CsvTranslator csv;
std::string errorString = "Error - tcDatabase::SerializeCSV - error with file: ";
***************
*** 97,101 ****
bool tcDBObjSerializer<T>::SaveCsv()
{
! ofstream outfile;
CsvTranslator csv;
std::string errorString = "Error - tcDatabase::SerializeCSV - error with file: ";
--- 99,103 ----
bool tcDBObjSerializer<T>::SaveCsv()
{
! std::ofstream outfile;
CsvTranslator csv;
std::string errorString = "Error - tcDatabase::SerializeCSV - error with file: ";
***************
*** 133,137 ****
} // namespace Database
-
- #endif
\ No newline at end of file
--- 135,138 ----
} // namespace Database
+ #endif
|