MorphoGraphX
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
src
Dir.hpp
1
//
2
// This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3
// Copyright (C) 2012-2015 Richard S. Smith and collaborators.
4
//
5
// If you use MorphoGraphX in your work, please cite:
6
// http://dx.doi.org/10.7554/eLife.05864
7
//
8
// MorphoGraphX is free software, and is licensed under under the terms of the
9
// GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10
//
11
#ifndef DIR_HPP
12
#define DIR_HPP
13
14
#include <Config.hpp>
15
16
#include <QDir>
17
18
namespace
mgx
{
19
namespace
util {
20
22
mgx_EXPORT
QString
stripCurrentDir(
QString
file);
23
25
mgx_EXPORT
QString
stripDir(
const
QString
& dir,
QString
file);
26
28
mgx_EXPORT
QString
getDir(
QString
file);
29
31
mgx_EXPORT
bool
setCurrentPath(
const
QString
& path);
32
34
mgx_EXPORT
QString
currentPath();
35
37
mgx_EXPORT
QDir
currentDir();
38
40
mgx_EXPORT
QString
absoluteFilePath(
QString
filename);
41
43
mgx_EXPORT
QString
resolvePath(
QString
path);
44
}
// namespace util
45
}
// namespace mgx
46
47
#endif
mgx
This namespace contains all the API of MorphoGraphX.
Definition:
Assert.hpp:26
QString
QDir
Generated on Tue Feb 27 2018 13:54:37 for MorphoGraphX by
1.8.11