LLDB mainline
Public Member Functions | Private Member Functions | List of all members
CFCBundle Class Reference

#include <CFCBundle.h>

Inheritance diagram for CFCBundle:
Inheritance graph

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 ()
CFCReleaseroperator= (const CFCReleaser< CFBundleRef > &rhs)
CFBundleRefptr_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 CFCBundleoperator= (const CFCBundle &)=delete

Detailed Description

Definition at line 14 of file CFCBundle.h.

Constructor & Destructor Documentation

◆ CFCBundle() [1/3]

CFCBundle::CFCBundle ( const char *  path = NULL)

Definition at line 13 of file CFCBundle.cpp.

References SetPath().

◆ CFCBundle() [2/3]

CFCBundle::CFCBundle ( CFURLRef  url)

Definition at line 18 of file CFCBundle.cpp.

◆ ~CFCBundle()

CFCBundle::~CFCBundle ( )

◆ CFCBundle() [3/3]

CFCBundle::CFCBundle ( const CFCBundle )

Member Function Documentation

◆ CopyExecutableURL()

CFURLRef CFCBundle::CopyExecutableURL ( ) const

◆ GetIdentifier()

CFStringRef CFCBundle::GetIdentifier ( ) const

Definition at line 57 of file CFCBundle.cpp.

References CFCReleaser< CFBundleRef >::get().

◆ GetPath()

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().

◆ GetValueForInfoDictionaryKey()

CFTypeRef CFCBundle::GetValueForInfoDictionaryKey ( CFStringRef  key) const

Definition at line 64 of file CFCBundle.cpp.

References CFCReleaser< CFBundleRef >::get().

◆ operator=()

const CFCBundle & CFCBundle::operator= ( const CFCBundle )

◆ SetPath()

bool CFCBundle::SetPath ( const char *  path)

The documentation for this class was generated from the following files: