Changeset 523 in dev for trunk/ab5.0/jenga/include/common
- Timestamp:
- May 1, 2008, 11:03:14 PM (17 years ago)
- Location:
- trunk/ab5.0/jenga/include/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/jenga/include/common/BoostSerializationSupport.h
r520 r523 1 1 #pragma once 2 3 #include <vector>4 #include <string>5 #include <fstream>6 #include <sstream>7 8 #include <boost/serialization/serialization.hpp>9 #include <boost/serialization/nvp.hpp>10 #include <boost/serialization/export.hpp>11 2 12 3 namespace Jenga{ 13 4 namespace Common{ 14 15 using namespace std;16 5 17 6 template<class T_xml_schema> class BoostSerializationSupport{ … … 21 10 22 11 public: 23 bool ReadXml( istream& ifs, bool isShowExceptionMessage = true );24 bool WriteXml( ostream& ofs, bool isShowExceptionMessage = true ) const;12 bool ReadXml( std::istream& ifs, bool isShowExceptionMessage = true ); 13 bool WriteXml( std::ostream& ofs, bool isShowExceptionMessage = true ) const; 25 14 bool ReadXml( const std::string &xmlFilePath, bool isShowExceptionMessage = true ); 26 15 bool WriteXml( const std::string &xmlFilePath, bool isShowExceptionMessage = true ) const; -
trunk/ab5.0/jenga/include/common/Directory.h
r295 r523 1 1 #pragma once 2 #pragma warning(disable : 4996)3 4 #include <vector>5 #include <string>6 7 #include <stdlib.h>8 9 #include <windows.h>10 11 2 12 3 namespace Jenga{ 13 4 namespace Common{ 14 5 15 using namespace std;16 17 6 class Directory 18 7 { 19 st ring path;8 std::string path; 20 9 public: 21 Directory( const st ring &path, bool isMake = false );10 Directory( const std::string &path, bool isMake = false ); 22 11 23 string GetFullPath( const string &relationPath ); 24 25 string GetRelationalPath( const string &fullPath ) 26 { 27 } 12 std::string GetFullPath( const std::string &relationPath ); 28 13 }; 29 14
Note:
See TracChangeset
for help on using the changeset viewer.