source: dev/trunk/ab5.0/jenga/include/common/Directory.h@ 764

Last change on this file since 764 was 680, checked in by dai_9181, 16 years ago

Directory::SearchFilesメソッドを追加。

File size: 544 bytes
Line 
1#pragma once
2
3namespace Jenga{
4namespace Common{
5
6class Directory
7{
8 std::string path;
9public:
10 Directory( const std::string &path, bool isMake = false );
11 Directory( const Directory &dir );
12
13 const std::string &GetPath() const
14 {
15 return path;
16 }
17
18 std::string GetFullPath( const std::string &relationPath ) const;
19 std::string GetRelationalPath( const std::string &fullPath ) const;
20
21 void SearchFiles( Jenga::Common::Strings &resultOfFullPath, const std::string &findStr, bool isRecuresive = false ) const;
22};
23
24
25}}
Note: See TracBrowser for help on using the repository browser.