Changeset 523 in dev for trunk/ab5.0/jenga/include


Ignore:
Timestamp:
May 1, 2008, 11:03:14 PM (16 years ago)
Author:
dai_9181
Message:

ヘッダファイルを整理中

Location:
trunk/ab5.0/jenga/include/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/jenga/include/common/BoostSerializationSupport.h

    r520 r523  
    11#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>
    112
    123namespace Jenga{
    134namespace Common{
    14 
    15 using namespace std;
    165
    176template<class T_xml_schema> class BoostSerializationSupport{
     
    2110
    2211public:
    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;
    2514    bool ReadXml( const std::string &xmlFilePath, bool isShowExceptionMessage = true );
    2615    bool WriteXml( const std::string &xmlFilePath, bool isShowExceptionMessage = true ) const;
  • trunk/ab5.0/jenga/include/common/Directory.h

    r295 r523  
    11#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 
    112
    123namespace Jenga{
    134namespace Common{
    145
    15 using namespace std;
    16 
    176class Directory
    187{
    19     string path;
     8    std::string path;
    209public:
    21     Directory( const string &path, bool isMake = false );
     10    Directory( const std::string &path, bool isMake = false );
    2211
    23     string GetFullPath( const string &relationPath );
    24 
    25     string GetRelationalPath( const string &fullPath )
    26     {
    27     }
     12    std::string GetFullPath( const std::string &relationPath );
    2813};
    2914
Note: See TracChangeset for help on using the changeset viewer.