Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
geometrize::serialization::GlobalPreferencesData Class Reference

The GlobalPreferencesData struct represents the data for the global application preferences. More...

#include <globalpreferencesdata.h>

Public Member Functions

template<class Archive >
void archive (Archive &ar, bool &shouldShowWelcomeScreenOnLaunch, bool &shouldGeometrizeAppLogoOnLaunch, bool &shouldPopulateRecentItemsOnLaunch, bool &shouldPopulateTemplatesOnLaunch, std::array< std::int32_t, 4 > &customImageTaskBackgroundOverrideColor, bool &shouldUseCustomImageTaskBackgroundOverrideColor, std::array< std::int32_t, 4 > &targetImageAlphaReplacementColor, bool &shouldUseImageAlphaReplacementColor, bool &shouldAutoLoadImageTaskSettings, bool &shouldAutoSaveImageTaskSettings, bool &shouldShowLaunchConsoleByDefault, bool &shouldShowImageTaskVectorViewByDefault, bool &shouldShowImageTaskConsoleByDefault, bool &shouldShowImageTaskScriptEditorByDefault, bool &shouldShowImageTaskPixmapViewByDefault, bool &imageTaskImageResizeEnabled, std::pair< std::uint32_t, std::uint32_t > &imageTaskImageResizeThreshold, std::uint32_t &imageTaskMaxThreads, std::string &isoLanguageCode, std::string &isoScriptCode, std::string &isoCountryCode)
 

Private Attributes

const std::string shouldShowWelcomeScreenOnLaunchKey {"shouldShowWelcomeScreenOnLaunch"}
 
const std::string shouldGeometrizeAppLogoOnLaunchKey {"shouldGeometrizeAppLogoOnLaunch"}
 
const std::string shouldPopulateRecentItemsOnLaunchKey {"shouldPopulateRecentItemsOnLaunch"}
 
const std::string shouldPopulateTemplatesOnLaunchKey {"shouldPopulateTemplatesOnLaunch"}
 
const std::string customImageTaskBackgroundOverrideColorKey {"customImageTaskBackgroundOverrideColor"}
 
const std::string shouldUseCustomImageTaskBackgroundOverrideColorKey {"shouldUseCustomImageTaskBackgroundOverrideColor"}
 
const std::string targetImageAlphaReplacementColorKey {"targetImageAlphaReplacementColor"}
 
const std::string shouldUseImageAlphaReplacementColorKey {"shouldUseImageAlphaReplacementColor"}
 
const std::string shouldAutoLoadImageTaskSettingsKey {"shouldAutoLoadImageTaskSettingsKey"}
 
const std::string shouldAutoSaveImageTaskSettingsKey {"shouldAutoSaveImageTaskSettingsKey"}
 
const std::string shouldShowLaunchConsoleByDefaultKey {"shouldShowLaunchConsoleByDefault"}
 
const std::string shouldShowImageTaskVectorViewByDefaultKey {"shouldShowImageTaskVectorViewByDefault"}
 
const std::string shouldShowImageTaskConsoleByDefaultKey {"shouldShowImageTaskConsoleByDefault"}
 
const std::string shouldShowImageTaskScriptEditorByDefaultKey {"shouldShowImageTaskScriptEditorByDefault"}
 
const std::string shouldShowImageTaskPixmapViewByDefaultKey {"shouldShowImageTaskPixmapViewByDefault"}
 
const std::string imageTaskImageResizeEnabledKey {"imageTaskImageResizeEnabled"}
 
const std::string imageTaskImageResizeThresholdKey {"imageTaskImageResizeThreshold"}
 
const std::string imageTaskMaxThreadsKey {"imageTaskMaxThreadsKey"}
 
const std::string isoLanguageCodeKey {"isoLanguageCode"}
 
const std::string isoScriptCodeKey {"isoScriptCode"}
 
const std::string isoCountryCodeKey {"isoCountryCode"}
 

Detailed Description

The GlobalPreferencesData struct represents the data for the global application preferences.

Member Function Documentation

template<class Archive >
void geometrize::serialization::GlobalPreferencesData::archive ( Archive &  ar,
bool &  shouldShowWelcomeScreenOnLaunch,
bool &  shouldGeometrizeAppLogoOnLaunch,
bool &  shouldPopulateRecentItemsOnLaunch,
bool &  shouldPopulateTemplatesOnLaunch,
std::array< std::int32_t, 4 > &  customImageTaskBackgroundOverrideColor,
bool &  shouldUseCustomImageTaskBackgroundOverrideColor,
std::array< std::int32_t, 4 > &  targetImageAlphaReplacementColor,
bool &  shouldUseImageAlphaReplacementColor,
bool &  shouldAutoLoadImageTaskSettings,
bool &  shouldAutoSaveImageTaskSettings,
bool &  shouldShowLaunchConsoleByDefault,
bool &  shouldShowImageTaskVectorViewByDefault,
bool &  shouldShowImageTaskConsoleByDefault,
bool &  shouldShowImageTaskScriptEditorByDefault,
bool &  shouldShowImageTaskPixmapViewByDefault,
bool &  imageTaskImageResizeEnabled,
std::pair< std::uint32_t, std::uint32_t > &  imageTaskImageResizeThreshold,
std::uint32_t &  imageTaskMaxThreads,
std::string &  isoLanguageCode,
std::string &  isoScriptCode,
std::string &  isoCountryCode 
)
inline
54  {
55  ar(cereal::make_nvp(shouldShowWelcomeScreenOnLaunchKey, shouldShowWelcomeScreenOnLaunch));
56 
57  ar(cereal::make_nvp(shouldGeometrizeAppLogoOnLaunchKey, shouldGeometrizeAppLogoOnLaunch));
58  ar(cereal::make_nvp(shouldPopulateRecentItemsOnLaunchKey, shouldPopulateRecentItemsOnLaunch));
59  ar(cereal::make_nvp(shouldPopulateTemplatesOnLaunchKey, shouldPopulateTemplatesOnLaunch));
60 
61  ar(cereal::make_nvp(customImageTaskBackgroundOverrideColorKey, customImageTaskBackgroundOverrideColor));
62  ar(cereal::make_nvp(shouldUseCustomImageTaskBackgroundOverrideColorKey, shouldUseCustomImageTaskBackgroundOverrideColor));
63 
64  ar(cereal::make_nvp(targetImageAlphaReplacementColorKey, targetImageAlphaReplacementColor));
65  ar(cereal::make_nvp(shouldUseImageAlphaReplacementColorKey, shouldUseImageAlphaReplacementColor));
66 
67  ar(cereal::make_nvp(shouldAutoLoadImageTaskSettingsKey, shouldAutoLoadImageTaskSettings));
68  ar(cereal::make_nvp(shouldAutoSaveImageTaskSettingsKey, shouldAutoSaveImageTaskSettings));
69 
70  ar(cereal::make_nvp(shouldShowLaunchConsoleByDefaultKey, shouldShowLaunchConsoleByDefault));
71  ar(cereal::make_nvp(shouldShowImageTaskVectorViewByDefaultKey, shouldShowImageTaskVectorViewByDefault));
72  ar(cereal::make_nvp(shouldShowImageTaskConsoleByDefaultKey, shouldShowImageTaskConsoleByDefault));
73  ar(cereal::make_nvp(shouldShowImageTaskScriptEditorByDefaultKey, shouldShowImageTaskScriptEditorByDefault));
74  ar(cereal::make_nvp(shouldShowImageTaskPixmapViewByDefaultKey, shouldShowImageTaskPixmapViewByDefault));
75 
76  ar(cereal::make_nvp(imageTaskImageResizeEnabledKey, imageTaskImageResizeEnabled));
77  ar(cereal::make_nvp(imageTaskImageResizeThresholdKey, imageTaskImageResizeThreshold));
78  ar(cereal::make_nvp(imageTaskMaxThreadsKey, imageTaskMaxThreads));
79 
80  ar(cereal::make_nvp(isoLanguageCodeKey, isoLanguageCode));
81  ar(cereal::make_nvp(isoScriptCodeKey, isoScriptCode));
82  ar(cereal::make_nvp(isoCountryCodeKey, isoCountryCode));
83  }
const std::string customImageTaskBackgroundOverrideColorKey
Definition: globalpreferencesdata.h:92
const std::string shouldShowLaunchConsoleByDefaultKey
Definition: globalpreferencesdata.h:101
const std::string shouldAutoSaveImageTaskSettingsKey
Definition: globalpreferencesdata.h:99
const std::string targetImageAlphaReplacementColorKey
Definition: globalpreferencesdata.h:95
const std::string shouldShowImageTaskVectorViewByDefaultKey
Definition: globalpreferencesdata.h:102
const std::string imageTaskMaxThreadsKey
Definition: globalpreferencesdata.h:109
const std::string shouldShowImageTaskPixmapViewByDefaultKey
Definition: globalpreferencesdata.h:105
const std::string shouldUseCustomImageTaskBackgroundOverrideColorKey
Definition: globalpreferencesdata.h:93
const std::string imageTaskImageResizeEnabledKey
Definition: globalpreferencesdata.h:107
const std::string shouldShowImageTaskConsoleByDefaultKey
Definition: globalpreferencesdata.h:103
const std::string isoScriptCodeKey
Definition: globalpreferencesdata.h:112
const std::string imageTaskImageResizeThresholdKey
Definition: globalpreferencesdata.h:108
const std::string shouldPopulateRecentItemsOnLaunchKey
Definition: globalpreferencesdata.h:89
const std::string shouldShowWelcomeScreenOnLaunchKey
Definition: globalpreferencesdata.h:86
const std::string isoCountryCodeKey
Definition: globalpreferencesdata.h:113
const std::string isoLanguageCodeKey
Definition: globalpreferencesdata.h:111
const std::string shouldGeometrizeAppLogoOnLaunchKey
Definition: globalpreferencesdata.h:88
const std::string shouldShowImageTaskScriptEditorByDefaultKey
Definition: globalpreferencesdata.h:104
const std::string shouldUseImageAlphaReplacementColorKey
Definition: globalpreferencesdata.h:96
const std::string shouldAutoLoadImageTaskSettingsKey
Definition: globalpreferencesdata.h:98
const std::string shouldPopulateTemplatesOnLaunchKey
Definition: globalpreferencesdata.h:90

Here is the caller graph for this function:

Member Data Documentation

const std::string geometrize::serialization::GlobalPreferencesData::customImageTaskBackgroundOverrideColorKey {"customImageTaskBackgroundOverrideColor"}
private
const std::string geometrize::serialization::GlobalPreferencesData::imageTaskImageResizeEnabledKey {"imageTaskImageResizeEnabled"}
private
const std::string geometrize::serialization::GlobalPreferencesData::imageTaskImageResizeThresholdKey {"imageTaskImageResizeThreshold"}
private
const std::string geometrize::serialization::GlobalPreferencesData::imageTaskMaxThreadsKey {"imageTaskMaxThreadsKey"}
private
const std::string geometrize::serialization::GlobalPreferencesData::isoCountryCodeKey {"isoCountryCode"}
private
const std::string geometrize::serialization::GlobalPreferencesData::isoLanguageCodeKey {"isoLanguageCode"}
private
const std::string geometrize::serialization::GlobalPreferencesData::isoScriptCodeKey {"isoScriptCode"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldAutoLoadImageTaskSettingsKey {"shouldAutoLoadImageTaskSettingsKey"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldAutoSaveImageTaskSettingsKey {"shouldAutoSaveImageTaskSettingsKey"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldGeometrizeAppLogoOnLaunchKey {"shouldGeometrizeAppLogoOnLaunch"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldPopulateRecentItemsOnLaunchKey {"shouldPopulateRecentItemsOnLaunch"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldPopulateTemplatesOnLaunchKey {"shouldPopulateTemplatesOnLaunch"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldShowImageTaskConsoleByDefaultKey {"shouldShowImageTaskConsoleByDefault"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldShowImageTaskPixmapViewByDefaultKey {"shouldShowImageTaskPixmapViewByDefault"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldShowImageTaskScriptEditorByDefaultKey {"shouldShowImageTaskScriptEditorByDefault"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldShowImageTaskVectorViewByDefaultKey {"shouldShowImageTaskVectorViewByDefault"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldShowLaunchConsoleByDefaultKey {"shouldShowLaunchConsoleByDefault"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldShowWelcomeScreenOnLaunchKey {"shouldShowWelcomeScreenOnLaunch"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldUseCustomImageTaskBackgroundOverrideColorKey {"shouldUseCustomImageTaskBackgroundOverrideColor"}
private
const std::string geometrize::serialization::GlobalPreferencesData::shouldUseImageAlphaReplacementColorKey {"shouldUseImageAlphaReplacementColor"}
private
const std::string geometrize::serialization::GlobalPreferencesData::targetImageAlphaReplacementColorKey {"targetImageAlphaReplacementColor"}
private

The documentation for this class was generated from the following file: