![]() |
CustusX
20.03-rc1
An IGT application
|
#include <cxFilePathProperty.h>
Public Member Functions | |
| void | appendRootPath (QString path) |
| void | setFilepath (QString filename) |
| relative to one of the root paths or absolute More... | |
| QString | getRelativeFilepath () const |
| return filepath relative to root. More... | |
| QString | getAbsoluteFilepath () const |
| return absolute filepath, select the existing root More... | |
| bool | exists () const |
| QString | getRootPath () const |
| return the root of the existing root, first if no existing. More... | |
| QStringList | getRootPaths () const |
| return the root of the existing root, first if no existing. More... | |
Represent a file that is located in a location relative to a root folder or one of several root folders.
Examples are
Definition at line 35 of file cxFilePathProperty.h.
| void cx::EmbeddedFilepath::appendRootPath | ( | QString | path | ) |
Definition at line 25 of file cxFilePathProperty.cpp.
| bool cx::EmbeddedFilepath::exists | ( | ) | const |
Definition at line 86 of file cxFilePathProperty.cpp.
| QString cx::EmbeddedFilepath::getAbsoluteFilepath | ( | ) | const |
return absolute filepath, select the existing root
Definition at line 77 of file cxFilePathProperty.cpp.
| QString cx::EmbeddedFilepath::getRelativeFilepath | ( | ) | const |
return filepath relative to root.
Definition at line 68 of file cxFilePathProperty.cpp.
| QString cx::EmbeddedFilepath::getRootPath | ( | ) | const |
return the root of the existing root, first if no existing.
Definition at line 95 of file cxFilePathProperty.cpp.
| QStringList cx::EmbeddedFilepath::getRootPaths | ( | ) | const |
return the root of the existing root, first if no existing.
Definition at line 104 of file cxFilePathProperty.cpp.
| void cx::EmbeddedFilepath::setFilepath | ( | QString | filename | ) |
relative to one of the root paths or absolute
Definition at line 30 of file cxFilePathProperty.cpp.