Rev | Line | |
---|
[166] | 1 | #pragma once
|
---|
| 2 |
|
---|
| 3 | namespace Jenga{
|
---|
| 4 | namespace Common{
|
---|
| 5 |
|
---|
| 6 | class Directory
|
---|
| 7 | {
|
---|
[523] | 8 | std::string path;
|
---|
[166] | 9 | public:
|
---|
[523] | 10 | Directory( const std::string &path, bool isMake = false );
|
---|
[620] | 11 | Directory( const Directory &dir );
|
---|
[166] | 12 |
|
---|
[620] | 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;
|
---|
[166] | 20 | };
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | }}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.