Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
AppItemPreferences Class Reference

Public Member Functions

 AppItemPreferences (AppPreferences *prefs, const CoreString &category, const CoreString &name)
 
 AppItemPreferences (const AppItemPreferences &src)
 
void operator= (const AppItemPreferences &item)
 
AppPreferences::ValueType get_value_type () const
 
CoreString get_category_name () const
 
CoreString get_name () const
 
bool get_bool_value () const
 
long get_long_value () const
 
double get_double_value () const
 
CoreString get_string_value () const
 
double get_color_value (const unsigned int &index) const
 
GMathVec2d get_vec2d_value () const
 
CoreString get_preset_label (const unsigned int &index) const
 
CoreString get_preset_value (const unsigned int &index) const
 
int get_preset_value_count () const
 
bool remove_all_presets ()
 
bool set_bool_value (const bool &value)
 
bool set_long_value (const long &value)
 
bool set_double_value (const double &value)
 
bool set_string_value (const CoreString &value)
 
bool set_color_value (const double &value, const unsigned int &index)
 
bool set_rgba_value (const GMathVec4d &rgba)
 
bool set_vec2d_value (const GMathVec2d &xy)
 
bool set_preset_value (const CoreString &str_value)
 
bool add_preset_value (const CoreString &title, const CoreString &value)
 
bool set_numeric_range (const double &min, const double &max)
 
bool enable_range (const bool &value)
 
bool set_numeric_ui_range (const double &min, const double &max)
 
bool enable_ui_range (const bool &value)
 
bool set_read_only (const bool &value)
 
bool set_doc (const CoreString &text)
 
bool set_hidden (const bool &value)
 
bool set_filename_extensions (const CoreVector< CoreString > &extensions)
 
bool set_saveable (const bool &flag)
 
bool add_value_validator (OfAttr::ValidatorBool validator, void *data=0)
 
bool add_value_validator (OfAttr::ValidatorLong validator, void *data=0)
 
bool add_value_validator (OfAttr::ValidatorDouble validator, void *data=0)
 
bool add_value_validator (OfAttr::ValidatorString validator, void *data=0)
 
bool is_empty () const
 
bool is_empty (const AppPreferences::Mode &force_mode) const
 
AppCategoryPreferences get_category ()
 
OfAttrget_item_attribute_from_vars ()