Last change
on this file was 829, checked in by イグトランス (egtra), 13 years ago |
svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain; charset=Shift_JIS
|
File size:
538 bytes
|
Line | |
---|
1 | #include <string>
|
---|
2 |
|
---|
3 | #pragma once
|
---|
4 |
|
---|
5 | namespace Jenga{
|
---|
6 | namespace Common{
|
---|
7 |
|
---|
8 | class Directory
|
---|
9 | {
|
---|
10 | std::string path;
|
---|
11 | public:
|
---|
12 | Directory( const std::string &path, bool isMake = false );
|
---|
13 | Directory( const Directory &dir );
|
---|
14 |
|
---|
15 | const std::string &GetPath() const
|
---|
16 | {
|
---|
17 | return path;
|
---|
18 | }
|
---|
19 |
|
---|
20 | std::string GetFullPath( const std::string &relationPath ) const;
|
---|
21 | std::string GetRelationalPath( const std::string &fullPath ) const;
|
---|
22 |
|
---|
23 | void SearchFiles( Jenga::Common::Strings &resultOfFullPath, const std::string &findStr, bool isRecuresive = false ) const;
|
---|
24 | };
|
---|
25 |
|
---|
26 |
|
---|
27 | }}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.