LLDB mainline
|
#include <CFCBundle.h>
Public Member Functions | |
CFCBundle (const char *path=NULL) | |
CFCBundle (CFURLRef url) | |
~CFCBundle () override | |
CFURLRef | CopyExecutableURL () const |
CFStringRef | GetIdentifier () const |
CFTypeRef | GetValueForInfoDictionaryKey (CFStringRef key) const |
bool | GetPath (char *dst, size_t dst_len) |
bool | SetPath (const char *path) |
Public Member Functions inherited from CFCReleaser< CFBundleRef > | |
CFCReleaser (CFBundleRef ptr=NULL) | |
CFCReleaser (const CFCReleaser &rhs) | |
virtual | ~CFCReleaser () |
CFCReleaser & | operator= (const CFCReleaser< CFBundleRef > &rhs) |
CFBundleRef * | ptr_address (bool enforce_null=true) |
CFBundleRef | get () |
const CFBundleRef | get () const |
void | reset (CFBundleRef ptr=NULL) |
CFBundleRef | release () |
Private Member Functions | |
CFCBundle (const CFCBundle &)=delete | |
const CFCBundle & | operator= (const CFCBundle &)=delete |
Definition at line 14 of file CFCBundle.h.
CFCBundle::CFCBundle | ( | const char * | path = NULL | ) |
Definition at line 13 of file CFCBundle.cpp.
References SetPath().
CFCBundle::CFCBundle | ( | CFURLRef | url | ) |
Definition at line 18 of file CFCBundle.cpp.
|
overridedefault |
|
privatedelete |
CFURLRef CFCBundle::CopyExecutableURL | ( | ) | const |
Definition at line 71 of file CFCBundle.cpp.
References CFCReleaser< CFBundleRef >::get().
Referenced by lldb_private::SymbolLocatorDebugSymbols::LocateExecutableObjectFile(), and LocateMacOSXFilesUsingDebugSymbols().
CFStringRef CFCBundle::GetIdentifier | ( | ) | const |
Definition at line 57 of file CFCBundle.cpp.
References CFCReleaser< CFBundleRef >::get().
bool CFCBundle::GetPath | ( | char * | dst, |
size_t | dst_len | ||
) |
Definition at line 43 of file CFCBundle.cpp.
References CFCReleaser< T >::get(), and CFCReleaser< CFBundleRef >::get().
CFTypeRef CFCBundle::GetValueForInfoDictionaryKey | ( | CFStringRef | key | ) | const |
Definition at line 64 of file CFCBundle.cpp.
References CFCReleaser< CFBundleRef >::get().
bool CFCBundle::SetPath | ( | const char * | path | ) |
Definition at line 25 of file CFCBundle.cpp.
References CFCReleaser< CFBundleRef >::get(), CFCReleaser< T >::get(), CFCReleaser< CFBundleRef >::reset(), and CFCString::SetFileSystemRepresentation().
Referenced by CFCBundle().