32 return ::CFSetGetCount(set);
39 return ::CFSetGetCountOfValue(set, value);
46 return ::CFSetGetValue(set, value);
55 set = ::CFSetCreateMutable(kCFAllocatorDefault, 0, &kCFTypeSetCallBacks);
59 ::CFSetAddValue(set, value);
68 ::CFSetRemoveValue(set, value);
74 ::CFSetRemoveAllValues(set);
CFIndex GetCountOfValue(const void *value) const
CFCMutableSet(CFMutableSetRef s=NULL)
const CFCMutableSet & operator=(const CFCMutableSet &rhs)
const void * GetValue(const void *value) const
void RemoveValue(const void *value)
const void * AddValue(const void *value, bool can_create)
~CFCMutableSet() override
void reset(CFMutableSetRef ptr=NULL)