cf-string-osx.hpp File Reference

This file contains utilities to deal with Apple Core Foundation's CFString and related types. More...

#include "../common.hpp"
#include "cf-releaser-osx.hpp"
+ Include dependency graph for cf-string-osx.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2013-2017 Regents of the University of California.
 
 ndn::util
 
 ndn::util::cfstring
 

Functions

CFReleaser< CFStringRef > ndn::util::cfstring::fromBuffer (const uint8_t *buf, size_t buflen)
 Create a CFString by copying bytes from a raw buffer. More...
 
CFReleaser< CFStringRef > ndn::util::cfstring::fromStdString (const std::string &str)
 Create a CFString by copying characters from a std::string. More...
 
std::string ndn::util::cfstring::toStdString (CFStringRef cfStr)
 Convert a CFString to a std::string. More...
 

Detailed Description

This file contains utilities to deal with Apple Core Foundation's CFString and related types.

Definition in file cf-string-osx.hpp.