#ifndef CoreFoundationCPP_CFMutableArray_h_
#define CoreFoundationCPP_CFMutableArray_h_
#include "CFCReleaser.h"
class CFCMutableArray : public CFCReleaser<CFMutableArrayRef>
{
public:
CFCMutableArray(CFMutableArrayRef array = NULL);
CFCMutableArray(const CFCMutableArray& rhs); CFCMutableArray& operator=(const CFCMutableArray& rhs); virtual ~CFCMutableArray();
CFIndex GetCount() const;
CFIndex GetCountOfValue(const void *value) const;
CFIndex GetCountOfValue(CFRange range, const void *value) const;
const void * GetValueAtIndex(CFIndex idx) const;
bool SetValueAtIndex(CFIndex idx, const void *value);
bool AppendValue(const void *value, bool can_create = true); bool AppendCStringAsCFString (const char *cstr,
CFStringEncoding encoding = kCFStringEncodingUTF8,
bool can_create = true);
bool AppendFileSystemRepresentationAsCFString (const char *s,
bool can_create = true);
};
#endif // #ifndef CoreFoundationCPP_CFMutableArray_h_