9#ifndef LLDB_SOURCE_HOST_MACOSX_CFCPP_CFCSTRING_H
10#define LLDB_SOURCE_HOST_MACOSX_CFCPP_CFCSTRING_H
20 CFCString(
const char *s, CFStringEncoding encoding = kCFStringEncodingUTF8);
29 const char *
UTF8(std::string &str);
35 std::string &expanded_path);
CFCString(const CFCString &rhs)
CFStringRef SetFileSystemRepresentationFromCFType(CFTypeRef cf_type)
CFCString & operator=(const CFCString &rhs)
static const char * ExpandTildeInPath(const char *path, std::string &expanded_path)
const char * UTF8(std::string &str)
CFIndex GetLength() const
static const char * FileSystemRepresentation(CFStringRef cf_str, std::string &str)
const char * GetFileSystemRepresentation(std::string &str)
CFStringRef SetFileSystemRepresentationAndExpandTilde(const char *path)
CFStringRef SetFileSystemRepresentation(const char *path)