cf-string-osx.hpp File Reference

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

#include "ndn-cxx/detail/config.hpp"
#include "ndn-cxx/detail/cf-releaser-osx.hpp"
#include <cstdint>
#include <string>
+ 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
 
 ndn::detail
 Contains implementation details that are not part of the ndn-cxx public API.
 
 ndn::detail::cfstring
 

Functions

CFReleaser< CFStringRef > ndn::detail::cfstring::fromBuffer (const uint8_t *buf, size_t buflen)
 Create a CFString by copying bytes from a raw buffer. More...
 
CFReleaser< CFStringRef > ndn::detail::cfstring::fromStdString (const std::string &str)
 Create a CFString by copying characters from a std::string. More...
 
std::string ndn::detail::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.