#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Semver.hpp>
Classes | |
| struct | Major |
| struct | Minor |
| struct | Patch |
Public Member Functions | |
| Semver () | |
| Semver (int major, int minor, int patch, boost::optional< const std::string & > metadata, boost::optional< const std::string & > prerelease) | |
| Semver (int major, int minor, int patch, const char *metadata=nullptr, const char *prerelease=nullptr) | |
| Semver (const std::string &str) | |
| Semver (Semver &&other) | |
| Semver (const Semver &other) | |
| Semver & | operator= (Semver &&other) |
| Semver & | operator= (const Semver &other) |
| ~Semver () | |
| int | maj () const |
| int | min () const |
| int | patch () const |
| const char * | prerelease () const |
| const char * | metadata () const |
| void | set_maj (int maj) |
| void | set_min (int min) |
| void | set_patch (int patch) |
| void | set_metadata (boost::optional< const std::string & > meta) |
| void | set_metadata (const char *meta) |
| void | set_prerelease (boost::optional< const std::string & > pre) |
| void | set_prerelease (const char *pre) |
| bool | operator< (const Semver &b) const |
| bool | operator<= (const Semver &b) const |
| bool | operator== (const Semver &b) const |
| bool | operator!= (const Semver &b) const |
| bool | operator>= (const Semver &b) const |
| bool | operator> (const Semver &b) const |
| bool | operator& (const Semver &b) const |
| bool | operator^ (const Semver &b) const |
| bool | in_range (const Semver &low, const Semver &high) const |
| bool | valid () const |
| std::string | to_string () const |
| std::string | to_string_sf () const |
| Semver & | operator+= (const Major &b) |
| Semver & | operator+= (const Minor &b) |
| Semver & | operator+= (const Patch &b) |
| Semver & | operator-= (const Major &b) |
| Semver & | operator-= (const Minor &b) |
| Semver & | operator-= (const Patch &b) |
| Semver | operator+ (const Major &b) const |
| Semver | operator+ (const Minor &b) const |
| Semver | operator+ (const Patch &b) const |
| Semver | operator- (const Major &b) const |
| Semver | operator- (const Minor &b) const |
| Semver | operator- (const Patch &b) const |
| template<class Archive> | |
| std::string | save_minimal (const Archive &) const |
| template<class Archive> | |
| void | load_minimal (const Archive &, const std::string &s) |
Static Public Member Functions | |
| static boost::optional< Semver > | parse (const std::string &str) |
| static const Semver | zero () |
| static const Semver | inf () |
| static const Semver | invalid () |
Private Member Functions | |
| Semver (semver_t ver) | |
Static Private Member Functions | |
| static semver_t | semver_zero () |
| static char * | strdup (const std::string &str) |
Private Attributes | |
| semver_t | ver |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Semver &self) |
|
inline |
References semver_zero(), and ver.
Referenced by Semver(), Semver(), in_range(), inf(), invalid(), operator!=(), operator&(), operator+(), operator+(), operator+(), operator+=(), operator+=(), operator+=(), operator-(), operator-(), operator-(), operator-=(), operator-=(), operator-=(), operator<(), operator<<, operator<=(), operator=(), operator=(), operator==(), operator>(), operator>=(), operator^(), parse(), and zero().
|
inline |
References metadata(), patch(), prerelease(), semver_zero(), set_metadata(), set_prerelease(), and ver.
|
inline |
References metadata(), patch(), prerelease(), semver_zero(), set_metadata(), set_prerelease(), and ver.
|
inline |
References parse(), semver_zero(), and ver.
|
inline |
|
inline |
References Semver().
Referenced by Slic3r::GUI::Config::Version::is_slic3r_supported().
|
inlinestatic |
Referenced by Slic3r::anonymous_namespace{PresetCacheFormat.cpp}::cache_covers_version(), Slic3r::PresetBundle::read_vendor(), and valid().
|
inlinestatic |
Referenced by Slic3r::GUI::Config::Snapshot::clear(), Slic3r::GUI::get_version(), Slic3r::installable_cache_version(), Slic3r::VendorCacheFile::usable_version(), and valid().
|
inline |
References parse().
|
inline |
References ver.
Referenced by Slic3r::GUI::SendSystemInfoDialog::SendSystemInfoDialog(), Slic3r::PresetUpdater::priv::get_printer_config_updates(), Slic3r::CLI::run(), set_maj(), Slic3r::GUI::should_dialog_be_shown(), Slic3r::PresetUpdater::priv::sync_plugins(), Slic3r::PresetUpdater::priv::sync_printer_config(), and Slic3r::PresetUpdater::priv::sync_resources().
|
inline |
|
inline |
References ver.
Referenced by Slic3r::GUI::SendSystemInfoDialog::SendSystemInfoDialog(), Slic3r::PresetUpdater::priv::get_printer_config_updates(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::CLI::run(), set_min(), Slic3r::GUI::should_dialog_be_shown(), Slic3r::PresetUpdater::priv::sync_plugins(), Slic3r::PresetUpdater::priv::sync_printer_config(), and Slic3r::PresetUpdater::priv::sync_resources().
|
inline |
|
inline |
|
inline |
|
inline |
References Semver(), semver_zero(), and ver.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
References Semver(), semver_zero(), and ver.
Referenced by Semver(), Slic3r::_BBS_3MF_Importer::_extract_project_embedded_presets_from_archive(), Slic3r::_3MF_Importer::_generate_volumes(), Slic3r::_3MF_Importer::_handle_end_metadata(), Slic3r::_BBS_3MF_Importer::_handle_end_metadata(), Slic3r::PresetCollection::add_detached_preset(), Slic3r::anonymous_namespace{PresetCacheFormat.cpp}::cache_covers_version(), Slic3r::GUI::GUI_App::check_bundle_updates(), Slic3r::GUI::GUI_App::check_privacy_update(), Slic3r::GUI::GUI_App::check_update(), Slic3r::GUI::compare_plugin_version(), Slic3r::GUI::PresetBundleDialog::CompareVer(), Slic3r::GUI::GUI_App::download_plugin(), Slic3r::PresetUpdater::priv::get_config_updates(), Slic3r::GUI::Newer3mfVersionDialog::get_msg_sizer(), Slic3r::GUI::get_version(), Slic3r::get_version_from_json(), Slic3r::PresetBundle::import_json_presets(), Slic3r::installable_cache_version(), Slic3r::anonymous_namespace{PluginManager.cpp}::is_cloud_version_newer(), Slic3r::AppConfig::load(), Slic3r::GUI::Config::Index::load(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::GUI::Config::Snapshot::load_ini(), load_minimal(), Slic3r::PresetCollection::load_user_preset(), Slic3r::GUI::parse_semver_from_ini(), Slic3r::PresetBundle::parse_vendor_json(), Slic3r::PresetUpdater::priv::parse_version_string(), Slic3r::PresetCollection::resolve_user_preset(), Slic3r::CLI::run(), Slic3r::GUI::GUI_App::sync_bundle(), and Slic3r::VendorCacheFile::usable_version().
|
inline |
References ver.
Referenced by Semver(), Semver(), set_patch(), Slic3r::PresetUpdater::priv::sync_plugins(), Slic3r::PresetUpdater::priv::sync_printer_config(), and Slic3r::PresetUpdater::priv::sync_resources().
|
inline |
References ver.
Referenced by Semver(), Semver(), Slic3r::GUI::SendSystemInfoDialog::SendSystemInfoDialog(), Slic3r::GUI::Config::Version::is_slic3r_supported(), and Slic3r::GUI::should_dialog_be_shown().
|
inline |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
Referenced by set_metadata(), set_metadata(), set_prerelease(), and set_prerelease().
|
inline |
References ver.
Referenced by Slic3r::_BBS_3MF_Exporter::_add_project_embedded_presets_to_archive(), Slic3r::GUI::GuideFrame::BuildProfileDataFromVendors(), Slic3r::PresetUpdater::priv::check_installed_vendor_profiles(), Slic3r::PresetUpdater::priv::check_new_vendors(), Slic3r::PresetUpdater::config_update(), Slic3r::GUI::GUI_App::download_plugin(), Slic3r::PresetBundle::export_current_configs(), Slic3r::GUI::get_config_json(), Slic3r::PresetUpdater::priv::get_config_updates(), Slic3r::GUI::Newer3mfVersionDialog::get_msg_sizer(), Slic3r::GUI::Plater::priv::load_files(), operator<<, Slic3r::PresetBundle::parse_vendor_json(), Slic3r::CLI::run(), and Slic3r::PresetUpdater::priv::sync_resources().
|
inline |
References ver.
Referenced by Slic3r::GUI::GUI_App::check_new_version_sf(), Slic3r::GUI::Plater::priv::load_files(), and save_minimal().
|
inline |
References inf(), invalid(), and zero().
Referenced by Slic3r::GUI::GuideFrame::BuildProfileDataFromVendors(), Slic3r::cache_covers(), Slic3r::anonymous_namespace{PresetCacheFormat.cpp}::cache_covers_version(), Slic3r::GUI::GUI_App::check_new_version_sf(), Slic3r::PresetUpdater::priv::get_config_updates(), Slic3r::is_vendor_installed(), Slic3r::PresetCollection::load_preset(), Slic3r::PresetBundle::parse_vendor_json(), and Slic3r::resource_vendor_version().
|
inlinestatic |
References Semver(), and semver_zero().
Referenced by valid(), and Slic3r::GUI::Config::Index::version().
|
friend |
References Semver(), and to_string().
|
private |
Referenced by Semver(), Semver(), Semver(), Semver(), Semver(), Semver(), Semver(), ~Semver(), inf(), invalid(), maj(), metadata(), min(), operator!=(), operator&(), operator+=(), operator+=(), operator+=(), operator-=(), operator-=(), operator-=(), operator<(), operator<=(), operator=(), operator=(), operator==(), operator>(), operator>=(), operator^(), parse(), patch(), prerelease(), set_maj(), set_metadata(), set_metadata(), set_min(), set_patch(), set_prerelease(), set_prerelease(), to_string(), and to_string_sf().