35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#endif
/*!
* @class OFCountedSet OFCountedSet.h ObjFW/OFCountedSet.h
*
* @brief An abstract class for a mutable unordered set of objects, counting how
* often it contains an object.
*/
@interface OFCountedSet OF_GENERIC(ObjectType):
OFMutableSet OF_GENERIC(ObjectType)
#if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN)
# define ObjectType id
#endif
/*!
|
>
>
>
|
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#endif
/*!
* @class OFCountedSet OFCountedSet.h ObjFW/OFCountedSet.h
*
* @brief An abstract class for a mutable unordered set of objects, counting how
* often it contains an object.
*
* @note Subclasses must implement @ref countForObject: as well as all methods
* of @ref OFSet and @ref OFMutableSet that need to be implemented.
*/
@interface OFCountedSet OF_GENERIC(ObjectType):
OFMutableSet OF_GENERIC(ObjectType)
#if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN)
# define ObjectType id
#endif
/*!
|