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

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

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

File size: 565 bytes
RevLine 
[818]1#include <string>
2
[166]3#pragma once
4
5namespace Jenga{
6namespace Common{
7
8class Directory
9{
[523]10 std::string path;
[166]11public:
[523]12 Directory( const std::string &path, bool isMake = false );
[620]13 Directory( const Directory &dir );
[166]14
[620]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;
[680]22
23 void SearchFiles( Jenga::Common::Strings &resultOfFullPath, const std::string &findStr, bool isRecuresive = false ) const;
[166]24};
25
26
27}}
Note: See TracBrowser for help on using the repository browser.