crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
Versions.hpp File Reference
#include "../Helper/FileSystem.hpp"
#include "../Helper/Portability/mysqlcppconn.h"
#include "../Helper/SilentInclude/EigenRand.h"
#include "../Helper/SilentInclude/tidy.h"
#include "../_extern/asio/asio/include/asio/version.hpp"
#include "../_extern/jsoncons/include/jsoncons/config/version.hpp"
#include "../_extern/rapidjson/include/rapidjson/rapidjson.h"
#include "../_extern/wapiti/wapiti.h"
#include "../_extern/mongoose/mongoose.h"
#include <Eigen/Core>
#include <aspell.h>
#include <boost/version.hpp>
#include <cppconn/driver.h>
#include <curl/curl.h>
#include <mapbox/variant.hpp>
#include <pcre2.h>
#include <pugixml.hpp>
#include <uriparser/UriBase.h>
#include <zip.h>
#include <zlib.h>
#include <array>
#include <fstream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
Include dependency graph for Versions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 crawlservpp::Helper::Versions
 Namespace for functions getting the versions of the different libraries used by the application.
 

Typedefs

using crawlservpp::Helper::Versions::StringString = std::pair< std::string, std::string >
 A pair of strings. More...
 

Constants

constexpr auto crawlservpp::Helper::Versions::asioMajor {100000}
 Divisor to retrieve the major version of the Asio library. More...
 
constexpr auto crawlservpp::Helper::Versions::asioMinor {100}
 Divisor to retrieve the minor version of the Asio library. More...
 
constexpr auto crawlservpp::Helper::Versions::asioModMinor {1000}
 Mod divisor to retrieve the minor version of the Asio library. More...
 
constexpr auto crawlservpp::Helper::Versions::asioPatch {100}
 Mod divisor to retrieve the patch version of the Asio library. More...
 
constexpr auto crawlservpp::Helper::Versions::boostMajor {100000}
 Divisor to retrieve the major version of the Boost library. More...
 
constexpr auto crawlservpp::Helper::Versions::boostMinor {1000}
 Divisor to retrieve the minor version of the Boost library. More...
 
constexpr auto crawlservpp::Helper::Versions::boostPatch {100}
 Mod divisor to retrieve the patch level of the Boost library. More...
 
constexpr auto crawlservpp::Helper::Versions::pugixmlMajor {100}
 Divisor to retrieve the major version of the pugixml library. More...
 
constexpr auto crawlservpp::Helper::Versions::pugixmlMinor {10}
 Divisor to retrieve the minor version of the pugixml library. More...
 
constexpr std::array crawlservpp::Helper::Versions::tomotoVersionFile
 The path from where to read the version of the tomoto library from. More...
 
constexpr auto crawlservpp::Helper::Versions::tomotoVersionBegin {"__version__ = '"sv}
 The beginning of the line containing the version of the tomoto library. More...
 
constexpr auto crawlservpp::Helper::Versions::tomotoVersionEnd {"'"sv}
 The end of the line containing the version of the tomoto library. More...
 
constexpr std::string_view crawlservpp::Helper::Versions::utf8CppVersion {"2.1"}
 The version of the UTF8-CPP library. More...
 

Getters

std::vector< StringString > crawlservpp::Helper::Versions::getLibraryVersions ()
 Gets the versions of the used libraries. More...
 
std::string crawlservpp::Helper::Versions::getLibraryVersionsStr (const std::string &indent)
 Gets the versions of the used libraries as one indented string. More...
 
std::string crawlservpp::Helper::Versions::getTomotoVersion ()
 Gets the version of the tomoto library if available. More...