Core class specifies the basic static information for the CamiTK API.
More...
#include <Core.h>
|
|
|
static const char * | version = "CamiTK 3.2.2" |
|
static const char * | shortVersion = "camitk-3.2" |
| short version string (all in lower case, without the patch number) More...
|
|
static const char * | soVersion = "3" |
| version used for so name More...
|
|
static const char * | debugPostfix = "-debug" |
| debug postfix used on MSVC to distinguished between release and debug version More...
|
|
Core class specifies the basic static information for the CamiTK API.
Extensions can only be in three different places:
- CAMITK_DIR (where the libcamitkcore is)
- user config directory
- current wording directory
static const QStringList camitk::Core::getActionDirectories |
( |
| ) |
|
|
static |
get all the action directories.
It gets all the valid directories where components are installed, and insert them in this particular order:
- current working directory (build install tree)
- user config directory (user install tree)
- CamiTK SDK installation directory (global install tree)
static const QStringList camitk::Core::getComponentDirectories |
( |
| ) |
|
|
static |
get all the component directories.
It gets all the valid directories where components are installed, and insert them in this particular order:
- current working directory (build install tree)
- user config directory (user install tree)
- CamiTK SDK installation directory (global install tree)
static const QString camitk::Core::getConfig |
( |
| ) |
|
|
static |
get more information about installation, etc...
static const QString camitk::Core::getCurrentWorkingDir |
( |
| ) |
|
|
static |
get the current working directory (during dev, this should be the build directory, which is an installation directory)
static const QString camitk::Core::getGlobalInstallDir |
( |
| ) |
|
|
static |
get the CAMITK_DIR (where camitk-config is installed)
static const QStringList camitk::Core::getInstallDirectories |
( |
QString |
suffix | ) |
|
|
static |
get all installation directories, suffixed by the given word.
All the returned Strings are unique valid directories, sorted in this particular order:
- current working directory (build install tree)
- user config directory (user install tree)
- CamiTK SDK installation directory (global install tree)
static const QString camitk::Core::getPaths |
( |
| ) |
|
|
static |
static const QString camitk::Core::getTestDataDir |
( |
| ) |
|
|
static |
Get a valid camitk test data directory name.
It returns the first valid test data directory that is found. Checking is done in this particular order:
- current working directory (build install tree)
- user config directory (user install tree)
- CamiTK SDK installation directory (global install tree)
If none of this three directories is valid, return user's home directory.
A test data directory is valid if it exists and contains a least one file.
- Returns
- a null QString, checkable with isNull(), if no test data directory found
static const QString camitk::Core::getUserInstallDir |
( |
| ) |
|
|
static |
get the user config directory (this is the local installation directory)
static const bool camitk::Core::isDebugBuild |
( |
| ) |
|
|
static |
const char * camitk::Core::debugPostfix = "-debug" |
|
static |
debug postfix used on MSVC to distinguished between release and debug version
const char * camitk::Core::shortVersion = "camitk-3.2" |
|
static |
short version string (all in lower case, without the patch number)
const char * camitk::Core::soVersion = "3" |
|
static |
const char * camitk::Core::version = "CamiTK 3.2.2" |
|
static |
The documentation for this class was generated from the following files: