23 #ifndef __PI_SettingList_h__
24 #define __PI_SettingList_h__
55 void getSetting(
const char *setting_name,
57 int default_value)
const;
58 void getSetting(
const char *setting_name,
60 bool default_value)
const;
61 void getSetting(
const char *setting_name,
63 fpreal default_value)
const;
64 void getSetting(
const char *setting_name,
66 const char *default_value)
const;
67 void getSetting(
const char *setting_name,
70 void getSetting(
const char *setting_name,
73 void getSetting(
const char *setting_name,
78 void appendSetting(
const char *setting_name,
80 void appendSetting(
const char *setting_name,
82 void appendSetting(
const char *setting_name,
84 void appendSetting(
const char *setting_name,
86 void appendSetting(
const char *setting_name,
88 void appendSetting(
const char *setting_name,
90 void appendSetting(
const char *setting_name,
94 void removeSetting(
const char *setting_name);
98 bool findUnreadSettings(
UT_String &unread_settings)
const;
118 bool isEmpty()
const {
return !mySettings.entries(); }
121 void loadFromSettingString(
const char *setting_string);
122 void generateSettingString(std::ostream &os)
const;
123 void generateSettingString(
UT_String &str)
const;
134 pi_Setting *findSetting(
const char *setting_name,
139 friend class pi_SettingParser;
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
friend std::ostream & operator<<(std::ostream &os, const PI_SettingList &setting_list)
void generateSettingString(std::ostream &os) const
LeafData & operator=(const LeafData &)=delete
void sort(I begin, I end, const Pred &pred)