source:
dev/trunk/ab5.0/jenga/include/common/Directory.h@
636
| Last change on this file since 636 was 620, checked in by , 18 years ago | |
|---|---|
| File size: 417 bytes | |
| Line | |
|---|---|
| 1 | #pragma once |
| 2 | |
| 3 | namespace Jenga{ |
| 4 | namespace Common{ |
| 5 | |
| 6 | class Directory |
| 7 | { |
| 8 | std::string path; |
| 9 | public: |
| 10 | Directory( const std::string &path, bool isMake = false ); |
| 11 | Directory( const Directory &dir ); |
| 12 | |
| 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; |
| 20 | }; |
| 21 | |
| 22 | |
| 23 | }} |
Note:
See TracBrowser
for help on using the repository browser.
