MorphoGraphX  2.0-1-227
Namespaces | Functions
Dir.hpp File Reference
#include <Config.hpp>
#include <QDir>

Go to the source code of this file.

Namespaces

 mgx
 Distributed matrix library.
 

Functions

mgx_EXPORT QString mgx::stripCurrentDir (QString file)
 Returns the path relative to the current directory. More...
 
mgx_EXPORT QString mgx::stripDir (const QString &dir, QString file)
 Remove a directory from the file path. More...
 
mgx_EXPORT QString mgx::getDir (QString file)
 Get the directory containing a file (base of the name only) More...
 
mgx_EXPORT bool mgx::setCurrentPath (const QString &path)
 Set the current path. More...
 
mgx_EXPORT QString mgx::currentPath ()
 Get the current path. More...
 
mgx_EXPORT QDir mgx::currentDir ()
 Get the current path as a directory. More...
 
mgx_EXPORT QString mgx::absoluteFilePath (QString filename)
 Return the absolute path to a file. More...
 
mgx_EXPORT QString mgx::resolvePath (QString path)
 Return the absolute file path, resolving things like environement variables and '~' for $HOME. More...