Main Page · Modules · All Classes · Class Hierarchy |
Classes | |
class | MSContext |
Creates a context for an application. More... | |
struct | MSData |
Base class for the data exchange of the elements. More... | |
class | MSElement |
Basic ancestor class of the elements. More... | |
class | MSSessionStorageInterface |
Interface class to handle new types in the storage. More... | |
Macros | |
#define | MSDATA_FUNCTIONS(data_class_name) |
MSData macro to declare the copy assignment operator in the descendants. | |
Functions | |
void | MSSetBasePath (const QString &path) |
Set the base path. More... | |
QString | MSGetBasePath () |
Get the base path. More... | |
QString | MSGetMlBasePath () |
Get the machine learning base path. More... | |
QString | MSGetMlModelsBasePath () |
Get the machine learning models base path. More... | |
QString | MSGetMlSamplesBasePath () |
Get the machine learning samples base path. More... | |
int | MSDirectorySize (const QString &directory) |
Calculate directory size. More... | |
QStringList | MSGetSubDirectories (const QString &directory) |
Get all subdirectories recursively. More... | |
QStringList | MSGetSubDirectoryContents (const QString &directory) |
Get all files from a directory recursively. More... | |
int MSDirectorySize | ( | const QString & | directory | ) |
Calculate directory size.
directory | Directory |
Definition at line 73 of file MSDefs.cpp.
QString MSGetBasePath | ( | ) |
Get the base path.
It is the user home directory by default if it is not set yet.
Definition at line 45 of file MSDefs.cpp.
QString MSGetMlBasePath | ( | ) |
Get the machine learning base path.
Definition at line 55 of file MSDefs.cpp.
QString MSGetMlModelsBasePath | ( | ) |
Get the machine learning models base path.
Definition at line 61 of file MSDefs.cpp.
QString MSGetMlSamplesBasePath | ( | ) |
Get the machine learning samples base path.
Definition at line 67 of file MSDefs.cpp.
QStringList MSGetSubDirectories | ( | const QString & | directory | ) |
Get all subdirectories recursively.
directory | Directory |
Definition at line 101 of file MSDefs.cpp.
QStringList MSGetSubDirectoryContents | ( | const QString & | directory | ) |
Get all files from a directory recursively.
directory | Directory |
Definition at line 127 of file MSDefs.cpp.
void MSSetBasePath | ( | const QString & | path | ) |
Set the base path.
path | Path |
The directory is created if it does not exist yet.
Definition at line 33 of file MSDefs.cpp.