Lines Matching defs:CFCString
1 //===-- CFCString.cpp -------------------------------------------*- C++ -*-===//
10 #include "CFCString.h"
15 // CFCString constructor
17 CFCString::CFCString(CFStringRef s) :
23 // CFCString copy constructor
25 CFCString::CFCString(const CFCString& rhs) :
32 // CFCString copy constructor
34 CFCString&
35 CFCString::operator=(const CFCString& rhs)
42 CFCString::CFCString (const char *cstr, CFStringEncoding cstr_encoding) :
54 CFCString::~CFCString()
59 CFCString::GetFileSystemRepresentation(std::string& s)
61 return CFCString::FileSystemRepresentation(get(), s);
65 CFCString::SetFileSystemRepresentation (const char *path)
76 CFCString::SetFileSystemRepresentationFromCFType (CFTypeRef cf_type)
98 CFCString::SetFileSystemRepresentationAndExpandTilde (const char *path)
101 if (CFCString::ExpandTildeInPath(path, expanded_path))
109 CFCString::UTF8(std::string& str)
111 return CFCString::UTF8(get(), str);
120 CFCString::UTF8 (CFStringRef cf_str, std::string& str)
144 CFCString::ExpandTildeInPath(const char* path, std::string &expanded_path)
165 CFCString::FileSystemRepresentation (CFStringRef cf_str, std::string& str)
189 CFCString::GetLength() const