ObjFW  Check-in [eedcd6c7b2]

Overview
Comment:Change documentation for abstract classes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: eedcd6c7b29b778cf865dc7d0051856b30f50114f54fe0052da2429cdbc40380
User & Date: js on 2011-09-09 10:50:33
Other Links: manifest | tags
Context
2011-09-09
13:35
[pool release] can never throw by convention now. check-in: 798d9e6320 user: js tags: trunk
10:50
Change documentation for abstract classes. check-in: eedcd6c7b2 user: js tags: trunk
2011-09-06
11:18
Fix handling of nested namespaces in OFXMLElement. check-in: 0082e20b04 user: js tags: trunk
Changes

Modified src/OFCountedSet.h from [16777a9318] to [cc860e9d65].

18
19
20
21
22
23
24

25
26
27
28
29
30
31
32

#ifdef OF_HAVE_BLOCKS
typedef void (^of_counted_set_enumeration_block_t)(id object, size_t count,
    BOOL *stop);
#endif

/**

 * \brief An unordered set of objects, counting how often it contains an object.
 */
@interface OFCountedSet: OFMutableSet
/**
 * \brief Returns how often the object is in the set.
 *
 * \return How often the object is in the set
 */







>
|







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

#ifdef OF_HAVE_BLOCKS
typedef void (^of_counted_set_enumeration_block_t)(id object, size_t count,
    BOOL *stop);
#endif

/**
 * \brief An abstract class for a mutable unordered set of objects, counting how
 *	  often it contains an object.
 */
@interface OFCountedSet: OFMutableSet
/**
 * \brief Returns how often the object is in the set.
 *
 * \return How often the object is in the set
 */

Modified src/OFMutableArray.h from [0284100bb4] to [dff693928f].

17
18
19
20
21
22
23
24

25
26
27
28
29
30
31
#import "OFArray.h"

#ifdef OF_HAVE_BLOCKS
typedef id (^of_array_replace_block_t)(id obj, size_t idx, BOOL *stop);
#endif

/**
 * \brief A class for storing, adding and removing objects in an array.

 */
@interface OFMutableArray: OFArray
/**
 * \brief Adds an object to the OFArray.
 *
 * \param object An object to add
 */







|
>







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#import "OFArray.h"

#ifdef OF_HAVE_BLOCKS
typedef id (^of_array_replace_block_t)(id obj, size_t idx, BOOL *stop);
#endif

/**
 * \brief An abstract class for storing, adding and removing objects in anr
 *	  array.
 */
@interface OFMutableArray: OFArray
/**
 * \brief Adds an object to the OFArray.
 *
 * \param object An object to add
 */

Modified src/OFMutableDictionary.h from [41532865ea] to [89005ff668].

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#import "OFDictionary.h"

#ifdef OF_HAVE_BLOCKS
typedef id (^of_dictionary_replace_block_t)(id key, id object, BOOL *stop);
#endif

/**
 * \brief An abstract class for using mutable dictionaries.
 */
@interface OFMutableDictionary: OFDictionary
/**
 * \brief Sets an object for a key.
 *
 * A key can be any object that conforms to the OFCopying protocol.
 *







|







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#import "OFDictionary.h"

#ifdef OF_HAVE_BLOCKS
typedef id (^of_dictionary_replace_block_t)(id key, id object, BOOL *stop);
#endif

/**
 * \brief An abstract class for storing and changing objects in a dictionary.
 */
@interface OFMutableDictionary: OFDictionary
/**
 * \brief Sets an object for a key.
 *
 * A key can be any object that conforms to the OFCopying protocol.
 *

Modified src/OFMutableSet.h from [74fb17cb05] to [46d438a8a1].

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#import "OFSet.h"

/**
 * \brief An mutable unordered set of unique objects.
 */
@interface OFMutableSet: OFSet
/**
 * \brief Adds the specified object to the set.
 *
 * \param object The object to add to the set
 */







|







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#import "OFSet.h"

/**
 * \brief An abstract class for a mutable unordered set of unique objects.
 */
@interface OFMutableSet: OFSet
/**
 * \brief Adds the specified object to the set.
 *
 * \param object The object to add to the set
 */

Modified src/OFSet.h from [c63fa846e0] to [08e53a27f1].

24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

#ifdef OF_HAVE_BLOCKS
typedef void (^of_set_enumeration_block_t)(id object, BOOL *stop);
typedef BOOL (^of_set_filter_block_t)(id object);
#endif

/**
 * \brief An unordered set of unique objects.
 */
@interface OFSet: OFObject <OFCollection, OFCopying, OFMutableCopying,
    OFSerialization>
/**
 * \brief Returns a new, autoreleased set.
 *
 * \return A new, autoreleased set







|







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

#ifdef OF_HAVE_BLOCKS
typedef void (^of_set_enumeration_block_t)(id object, BOOL *stop);
typedef BOOL (^of_set_filter_block_t)(id object);
#endif

/**
 * \brief An abstract class for an unordered set of unique objects.
 */
@interface OFSet: OFObject <OFCollection, OFCopying, OFMutableCopying,
    OFSerialization>
/**
 * \brief Returns a new, autoreleased set.
 *
 * \return A new, autoreleased set