Adding namespace Database

This commit is contained in:
emeric
2014-06-27 16:23:13 +02:00
parent e6c8dd996a
commit 7fd546eb44
24 changed files with 98 additions and 64 deletions
+4 -1
View File
@@ -1,10 +1,11 @@
#include "FileTypes.hpp"
namespace Database {
Path::Path()
{}
Path::Path(boost::filesystem::path p)
: _filePath (p.string()),
_isDirectory( boost::filesystem::is_directory( _filePath ) )
@@ -100,3 +101,5 @@ Path::getFileName(void) const
else
return boost::filesystem::path(_filePath).filename().string();
}
} // namespace Database