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

Last change on this file since 829 was 829, checked in by イグトランス (egtra), 12 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
5namespace Jenga{
6namespace Common{
7
8class Directory
9{
10 std::string path;
11public:
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.