Changeset 630 in dev for trunk


Ignore:
Timestamp:
Jun 4, 2008, 10:57:55 PM (16 years ago)
Author:
dai_9181
Message:

Path::IsNetworkPathメソッドを追加。

File:
1 edited

Legend:

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

    r623 r630  
    5555        return fullPath;
    5656    }
     57    bool IsNetworkPath() const
     58    {
     59        if( fullPath.size() < 2 )
     60        {
     61            return false;
     62        }
     63        return ( ( fullPath[0] == '\\' ) && ( fullPath[1] == '\\' ) );
     64    }
    5765
    5866    static std::string MakeFullPath( const std::string &relativePath, const std::string &baseDirPath );
Note: See TracChangeset for help on using the changeset viewer.