Index: ext/libicpf/src/config_property.h =================================================================== diff -u -N -r0d9a4d94a98872815d5840d1bcc4d394d455307c -rfd1f0cf4d6ad9ff63fd9252a3f2f31c992431842 --- ext/libicpf/src/config_property.h (.../config_property.h) (revision 0d9a4d94a98872815d5840d1bcc4d394d455307c) +++ ext/libicpf/src/config_property.h (.../config_property.h) (revision fd1f0cf4d6ad9ff63fd9252a3f2f31c992431842) @@ -67,47 +67,47 @@ /// Retrieves a property type (with flags) uint_t get_type() const { return m_uiPropType; }; /// Checks if the property is array-based - bool is_array() const { return (m_uiPropType & prop_flags::flag_array) != false; }; + bool is_array() const { return (m_uiPropType & flag_array) != false; }; /// Sets a property name void set_name(const tchar_t* pszName) { m_pszName=copy_string(pszName); }; /// Gets a property name const tchar_t* get_name() const { return m_pszName; }; /// Sets the modified flag - void set_modified(bool bModified) { if (bModified) m_uiPropType |= prop_flags::flag_modified; else m_uiPropType &= ~prop_flags::flag_modified; }; + void set_modified(bool bModified) { if (bModified) m_uiPropType |= flag_modified; else m_uiPropType &= ~flag_modified; }; /// Gets the modified flag - bool is_modified() const { return (m_uiPropType & prop_flags::flag_modified) != false; }; + bool is_modified() const { return (m_uiPropType & flag_modified) != false; }; /**@}*/ /** \brief Property values */ /**@{*/ /// Sets a value from string - void set_value(const tchar_t* pszValue, actions a=actions::action_replace, size_t tIndex=0); + void set_value(const tchar_t* pszValue, actions a=action_replace, size_t tIndex=0); /// Gets the value as string const tchar_t* get_value(tchar_t* pszString, size_t stMaxSize, size_t stIndex=0); /// Sets the string value - void set_string(const tchar_t* pszValue, actions a=actions::action_replace, size_t tIndex=0); + void set_string(const tchar_t* pszValue, actions a=action_replace, size_t tIndex=0); /// Gets the string value const tchar_t* get_string(size_t stIndex=0) const; /// Sets the signed number value - void set_signed_num(ll_t llValue, actions a=actions::action_replace, size_t tIndex=0); + void set_signed_num(ll_t llValue, actions a=action_replace, size_t tIndex=0); /// Sets the signed number range void set_signed_range(ll_t llMin, ll_t llMax); /// Gets the signed number value ll_t get_signed_num(size_t stIndex=0) const; /// Sets the unsigned number value - void set_unsigned_num(ull_t ullValue, actions a=actions::action_replace, size_t tIndex=0); + void set_unsigned_num(ull_t ullValue, actions a=action_replace, size_t tIndex=0); /// Sets the unsigned number range void set_unsigned_range(ull_t ullMin, ull_t ullMax); /// Gets the unsigned number value ull_t get_unsigned_num(size_t stIndex=0) const; /// Sets the bool value - void set_bool(bool bValue, actions a=actions::action_replace, size_t tIndex=0); + void set_bool(bool bValue, actions a=action_replace, size_t tIndex=0); /// Gets the bool value bool get_bool(size_t stIndex=0) const;