source: dev/branches/egtra/ab5.0/jenga/include/common/Directory.h@ 820

Last change on this file since 820 was 818, checked in by イグトランス (egtra), 14 years ago

Jenga/common/String.hに対するテストを追加

File size: 565 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.