Changeset 523 in dev for trunk/ab5.0/jenga/src/common/Directory.cpp
- Timestamp:
- May 1, 2008, 11:03:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/jenga/src/common/Directory.cpp
r518 r523 1 1 #include "stdafx.h" 2 2 3 using namespace std;4 3 using namespace Jenga::Common; 5 4 6 Directory::Directory( const st ring &path, bool isMake )5 Directory::Directory( const std::string &path, bool isMake ) 7 6 : path( path ) 8 7 { … … 16 15 } 17 16 18 st ring Directory::GetFullPath( conststring &relationPath )17 std::string Directory::GetFullPath( const std::string &relationPath ) 19 18 { 20 st ring resultPath = relationPath;19 std::string resultPath = relationPath; 21 20 22 21 // '/'→'\' … … 29 28 } 30 29 31 if( resultPath.find( ":" ) != st ring::npos || resultPath.find( "\\\\" ) !=string::npos )30 if( resultPath.find( ":" ) != std::string::npos || resultPath.find( "\\\\" ) != std::string::npos ) 32 31 { 33 32 // フルパスが引き渡されていたとき
Note:
See TracChangeset
for help on using the changeset viewer.