LLDB  mainline
Public Member Functions | Static Public Member Functions | List of all members
CFCString Class Reference

#include <CFCString.h>

Inheritance diagram for CFCString:
Inheritance graph
[legend]
Collaboration diagram for CFCString:
Collaboration graph
[legend]

Public Member Functions

 CFCString (CFStringRef cf_str=NULL)
 
 CFCString (const char *s, CFStringEncoding encoding=kCFStringEncodingUTF8)
 
 CFCString (const CFCString &rhs)
 
CFCStringoperator= (const CFCString &rhs)
 
virtual ~CFCString ()
 
const char * GetFileSystemRepresentation (std::string &str)
 
CFStringRef SetFileSystemRepresentation (const char *path)
 
CFStringRef SetFileSystemRepresentationFromCFType (CFTypeRef cf_type)
 
CFStringRef SetFileSystemRepresentationAndExpandTilde (const char *path)
 
const char * UTF8 (std::string &str)
 
CFIndex GetLength () const
 

Static Public Member Functions

static const char * UTF8 (CFStringRef cf_str, std::string &str)
 
static const char * FileSystemRepresentation (CFStringRef cf_str, std::string &str)
 
static const char * ExpandTildeInPath (const char *path, std::string &expanded_path)
 

Detailed Description

Definition at line 16 of file CFCString.h.

Constructor & Destructor Documentation

◆ CFCString() [1/3]

CFCString::CFCString ( CFStringRef  cf_str = NULL)

Definition at line 14 of file CFCString.cpp.

◆ CFCString() [2/3]

CFCString::CFCString ( const char *  s,
CFStringEncoding  encoding = kCFStringEncodingUTF8 
)

Definition at line 26 of file CFCString.cpp.

◆ CFCString() [3/3]

CFCString::CFCString ( const CFCString rhs)

Definition at line 17 of file CFCString.cpp.

◆ ~CFCString()

CFCString::~CFCString ( )
virtualdefault

Member Function Documentation

◆ ExpandTildeInPath()

const char * CFCString::ExpandTildeInPath ( const char *  path,
std::string expanded_path 
)
static

Definition at line 108 of file CFCString.cpp.

Referenced by SetFileSystemRepresentationAndExpandTilde().

◆ FileSystemRepresentation()

const char * CFCString::FileSystemRepresentation ( CFStringRef  cf_str,
std::string str 
)
static

◆ GetFileSystemRepresentation()

const char * CFCString::GetFileSystemRepresentation ( std::string str)

Definition at line 37 of file CFCString.cpp.

References FileSystemRepresentation().

◆ GetLength()

CFIndex CFCString::GetLength ( ) const

Definition at line 146 of file CFCString.cpp.

◆ operator=()

CFCString & CFCString::operator= ( const CFCString rhs)

Definition at line 20 of file CFCString.cpp.

◆ SetFileSystemRepresentation()

CFStringRef CFCString::SetFileSystemRepresentation ( const char *  path)

◆ SetFileSystemRepresentationAndExpandTilde()

CFStringRef CFCString::SetFileSystemRepresentationAndExpandTilde ( const char *  path)

Definition at line 69 of file CFCString.cpp.

References ExpandTildeInPath(), SetFileSystemRepresentation(), and string().

◆ SetFileSystemRepresentationFromCFType()

CFStringRef CFCString::SetFileSystemRepresentationFromCFType ( CFTypeRef  cf_type)

Definition at line 51 of file CFCString.cpp.

◆ UTF8() [1/2]

const char * CFCString::UTF8 ( CFStringRef  cf_str,
std::string str 
)
static

Definition at line 89 of file CFCString.cpp.

◆ UTF8() [2/2]

const char * CFCString::UTF8 ( std::string str)

Definition at line 78 of file CFCString.cpp.


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