@@ -21,11 +21,11 @@ @class OFArray OF_GENERIC(ObjectType); @class OFMutableArray OF_GENERIC(ObjectType); @class OFString; -/*! +/** * @class OFINICategory OFINICategory.h ObjFW/OFINICategory.h * * @brief A class for representing a category of an INI file. */ OF_SUBCLASSING_RESTRICTED @@ -33,18 +33,18 @@ { OFString *_name; OFMutableArray *_lines; } -/*! +/** * @brief The name of the INI category */ @property (copy, nonatomic) OFString *name; - (instancetype)init OF_UNAVAILABLE; -/*! +/** * @brief Returns the string value for the specified key, or `nil` if it does * not exist. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is returned. @@ -52,11 +52,11 @@ * @param key The key for which the string value should be returned * @return The string value for the specified key, or `nil` if it does not exist */ - (nullable OFString *)stringForKey: (OFString *)key; -/*! +/** * @brief Returns the string value for the specified key or the specified * default value if it does not exist. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is returned. @@ -67,11 +67,11 @@ * value if it does not exist */ - (nullable OFString *)stringForKey: (OFString *)key defaultValue: (nullable OFString *)defaultValue; -/*! +/** * @brief Returns the integer value for the specified key or the specified * default value if it does not exist. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is returned. @@ -82,11 +82,11 @@ * value if it does not exist */ - (long long)integerForKey: (OFString *)key defaultValue: (long long)defaultValue; -/*! +/** * @brief Returns the bool value for the specified key or the specified default * value if it does not exist. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is returned. @@ -97,11 +97,11 @@ * if it does not exist */ - (bool)boolForKey: (OFString *)key defaultValue: (bool)defaultValue; -/*! +/** * @brief Returns the float value for the specified key or the specified * default value if it does not exist. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is returned. @@ -112,11 +112,11 @@ * if it does not exist */ - (float)floatForKey: (OFString *)key defaultValue: (float)defaultValue; -/*! +/** * @brief Returns the double value for the specified key or the specified * default value if it does not exist. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is returned. @@ -127,11 +127,11 @@ * value if it does not exist */ - (double)doubleForKey: (OFString *)key defaultValue: (double)defaultValue; -/*! +/** * @brief Returns an array of string values for the specified multi-key, or an * empty array if the key does not exist. * * A multi-key is a key which exists several times in the same category. Each * occurrence of the key/value pair adds the respective value to the array. @@ -140,11 +140,11 @@ * @return The array for the specified key, or an empty array if it does not * exist */ - (OFArray OF_GENERIC(OFString *) *)arrayForKey: (OFString *)key; -/*! +/** * @brief Sets the value of the specified key to the specified string. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is changed. * @@ -152,11 +152,11 @@ * @param key The key for which the new value should be set */ - (void)setString: (OFString *)string forKey: (OFString *)key; -/*! +/** * @brief Sets the value of the specified key to the specified integer. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is changed. * @@ -164,11 +164,11 @@ * @param key The key for which the new value should be set */ - (void)setInteger: (long long)integer forKey: (OFString *)key; -/*! +/** * @brief Sets the value of the specified key to the specified bool. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is changed. * @@ -176,11 +176,11 @@ * @param key The key for which the new value should be set */ - (void)setBool: (bool)bool_ forKey: (OFString *)key; -/*! +/** * @brief Sets the value of the specified key to the specified float. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is changed. * @@ -188,11 +188,11 @@ * @param key The key for which the new value should be set */ - (void)setFloat: (float)float_ forKey: (OFString *)key; -/*! +/** * @brief Sets the value of the specified key to the specified double. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of * the first key/value pair found is changed. * @@ -200,11 +200,11 @@ * @param key The key for which the new value should be set */ - (void)setDouble: (double)double_ forKey: (OFString *)key; -/*! +/** * @brief Sets the specified multi-key to the specified array of strings. * * It replaces the first occurrence of the multi-key with several key/value * pairs and removes all following occurrences. If the multi-key does not exist * yet, it is appended to the section. @@ -215,11 +215,11 @@ * @param key The multi-key for which the new values should be set */ - (void)setArray: (OFArray OF_GENERIC(OFString *) *)array forKey: (OFString *)key; -/*! +/** * @brief Removes the value for the specified key * * If the specified key is a multi-key (see @ref arrayForKey:), all key/value * pairs matching the specified key are removed. *