Last change
on this file since 797 was 680, checked in by dai_9181, 16 years ago |
Directory::SearchFilesメソッドを追加。
|
File size:
544 bytes
|
Line | |
---|
1 | #pragma once
|
---|
2 |
|
---|
3 | namespace Jenga{
|
---|
4 | namespace Common{
|
---|
5 |
|
---|
6 | class Directory
|
---|
7 | {
|
---|
8 | std::string path;
|
---|
9 | public:
|
---|
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.