#include <Utils.h>
|
static Base::String | createTempName (const Base::String &dir, const Base::String &temp) |
|
static void * | getClassFromDLL (const Base::String &dllname, const Base::String &classname) |
|
static void | loadDLL (const Base::String &dllname) |
|
static void | removeDirectory (const Base::String &name) |
|
static unsigned long long | getDiskFreeSpaceOfDirectoryInMB (const Base::String &dir) |
|
static unsigned long long | getDiskFreeSpaceOfDirectoryInKB (const Base::String &dir) |
|
static bool | isMainThread () |
|
static bool | isBigEndian () |
|
static Base::String | getDirectoryFromPath (const Base::String &aFilePath) |
|
static Base::String | getAbsolutePath (const Base::String &aPath, const Base::String &aAbsModelPath) |
|
static bool | removeDirContent (const Base::String &aDirName) |
|
static bool | proj4Convert (const std::string &inProjection, const std::string &outProjection, const std::vector< Geom::Pnt > &inPoints, std::vector< Geom::Pnt > &outPoints) |
|
static std::vector< Proj4 > | getProj4Converter () |
|
static void | printCallStack (int maxFrames=0) |
|
static bool | runApp (const QString &appPath, std::map< QString, QString > env, std::vector< QString > args) |
|
static bool | downloadFile (QString url, QString saveFilePath, QWidget *parent=0, std::function< void(int, int)> callback=0) |
|
static bool | unzip (QString zipFile, QString destDir) |
|
static auto | getHttpResponse (QString url, QWidget *parent=0) -> std::pair< QString, QJsonDocument > |
|
◆ createTempName()
◆ downloadFile()
static bool Core::Util::downloadFile |
( |
QString |
url, |
|
|
QString |
saveFilePath, |
|
|
QWidget * |
parent = 0 , |
|
|
std::function< void(int, int)> |
callback = 0 |
|
) |
| |
|
static |
◆ getAbsolutePath()
◆ getClassFromDLL()
◆ getDirectoryFromPath()
◆ getDiskFreeSpaceOfDirectoryInKB()
static unsigned long long Core::Util::getDiskFreeSpaceOfDirectoryInKB |
( |
const Base::String & |
dir | ) |
|
|
static |
◆ getDiskFreeSpaceOfDirectoryInMB()
static unsigned long long Core::Util::getDiskFreeSpaceOfDirectoryInMB |
( |
const Base::String & |
dir | ) |
|
|
static |
◆ getHttpResponse()
static auto Core::Util::getHttpResponse |
( |
QString |
url, |
|
|
QWidget * |
parent = 0 |
|
) |
| -> std::pair< QString, QJsonDocument > |
|
static |
◆ getProj4Converter()
static std::vector<Proj4> Core::Util::getProj4Converter |
( |
| ) |
|
|
static |
◆ isBigEndian()
static bool Core::Util::isBigEndian |
( |
| ) |
|
|
static |
◆ isMainThread()
static bool Core::Util::isMainThread |
( |
| ) |
|
|
static |
◆ loadDLL()
static void Core::Util::loadDLL |
( |
const Base::String & |
dllname | ) |
|
|
static |
◆ printCallStack()
static void Core::Util::printCallStack |
( |
int |
maxFrames = 0 | ) |
|
|
static |
◆ proj4Convert()
static bool Core::Util::proj4Convert |
( |
const std::string & |
inProjection, |
|
|
const std::string & |
outProjection, |
|
|
const std::vector< Geom::Pnt > & |
inPoints, |
|
|
std::vector< Geom::Pnt > & |
outPoints |
|
) |
| |
|
static |
◆ removeDirContent()
static bool Core::Util::removeDirContent |
( |
const Base::String & |
aDirName | ) |
|
|
static |
◆ removeDirectory()
static void Core::Util::removeDirectory |
( |
const Base::String & |
name | ) |
|
|
static |
◆ runApp()
static bool Core::Util::runApp |
( |
const QString & |
appPath, |
|
|
std::map< QString, QString > |
env, |
|
|
std::vector< QString > |
args |
|
) |
| |
|
static |
◆ unzip()
static bool Core::Util::unzip |
( |
QString |
zipFile, |
|
|
QString |
destDir |
|
) |
| |
|
static |
The documentation for this class was generated from the following file:
- D:/CadworkJobs/SoftwareProjekte/Lexocad/LexoGit/Lexocad/lexocad/Core/include/Core/Utils.h