LLDB mainline
|
#include <CFCMutableArray.h>
Public Member Functions | |
CFCMutableArray (CFMutableArrayRef array=NULL) | |
CFCMutableArray (const CFCMutableArray &rhs) | |
CFCMutableArray & | operator= (const CFCMutableArray &rhs) |
~CFCMutableArray () override | |
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) |
Public Member Functions inherited from CFCReleaser< CFMutableArrayRef > | |
CFCReleaser (CFMutableArrayRef ptr=NULL) | |
CFCReleaser (const CFCReleaser &rhs) | |
virtual | ~CFCReleaser () |
CFCReleaser & | operator= (const CFCReleaser< CFMutableArrayRef > &rhs) |
CFMutableArrayRef * | ptr_address (bool enforce_null=true) |
CFMutableArrayRef | get () |
const CFMutableArrayRef | get () const |
void | reset (CFMutableArrayRef ptr=NULL) |
CFMutableArrayRef | release () |
Definition at line 14 of file CFCMutableArray.h.
CFCMutableArray::CFCMutableArray | ( | CFMutableArrayRef | array = NULL | ) |
Definition at line 13 of file CFCMutableArray.cpp.
|
default |
|
overridedefault |
bool CFCMutableArray::AppendCStringAsCFString | ( | const char * | cstr, |
CFStringEncoding | encoding = kCFStringEncodingUTF8 , |
||
bool | can_create = true |
||
) |
Definition at line 94 of file CFCMutableArray.cpp.
References CFCReleaser< T >::get(), CFCReleaser< CFMutableArrayRef >::get(), and CFCReleaser< CFMutableArrayRef >::reset().
bool CFCMutableArray::AppendFileSystemRepresentationAsCFString | ( | const char * | s, |
bool | can_create = true |
||
) |
Definition at line 113 of file CFCMutableArray.cpp.
References CFCReleaser< T >::get(), CFCReleaser< CFMutableArrayRef >::get(), CFCReleaser< CFMutableArrayRef >::reset(), and CFCString::SetFileSystemRepresentation().
bool CFCMutableArray::AppendValue | ( | const void * | value, |
bool | can_create = true |
||
) |
Definition at line 78 of file CFCMutableArray.cpp.
References CFCReleaser< CFMutableArrayRef >::get(), and CFCReleaser< CFMutableArrayRef >::reset().
CFIndex CFCMutableArray::GetCount | ( | ) | const |
Definition at line 33 of file CFCMutableArray.cpp.
References CFCReleaser< CFMutableArrayRef >::get().
Referenced by GetCountOfValue().
CFIndex CFCMutableArray::GetCountOfValue | ( | CFRange | range, |
const void * | value | ||
) | const |
Definition at line 40 of file CFCMutableArray.cpp.
References CFCReleaser< CFMutableArrayRef >::get().
CFIndex CFCMutableArray::GetCountOfValue | ( | const void * | value | ) | const |
Definition at line 48 of file CFCMutableArray.cpp.
References CFCReleaser< CFMutableArrayRef >::get(), and GetCount().
const void * CFCMutableArray::GetValueAtIndex | ( | CFIndex | idx | ) | const |
Definition at line 55 of file CFCMutableArray.cpp.
References CFCReleaser< CFMutableArrayRef >::get().
CFCMutableArray & CFCMutableArray::operator= | ( | const CFCMutableArray & | rhs | ) |
Definition at line 23 of file CFCMutableArray.cpp.
bool CFCMutableArray::SetValueAtIndex | ( | CFIndex | idx, |
const void * | value | ||
) |
Definition at line 66 of file CFCMutableArray.cpp.
References CFCReleaser< CFMutableArrayRef >::get().