Last change
on this file since 747 was 680, checked in by dai_9181, 16 years ago |
Directory::SearchFilesメソッドを追加。
|
File size:
544 bytes
|
Rev | Line | |
---|
[166] | 1 | #pragma once
|
---|
| 2 |
|
---|
| 3 | namespace Jenga{
|
---|
| 4 | namespace Common{
|
---|
| 5 |
|
---|
| 6 | class Directory
|
---|
| 7 | {
|
---|
[523] | 8 | std::string path;
|
---|
[166] | 9 | public:
|
---|
[523] | 10 | Directory( const std::string &path, bool isMake = false );
|
---|
[620] | 11 | Directory( const Directory &dir );
|
---|
[166] | 12 |
|
---|
[620] | 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;
|
---|
[680] | 20 |
|
---|
| 21 | void SearchFiles( Jenga::Common::Strings &resultOfFullPath, const std::string &findStr, bool isRecuresive = false ) const;
|
---|
[166] | 22 | };
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | }}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.