Orxonox: OIS::OIS_CFString Class Reference

# OIS::OIS_CFString Class Reference

`#include <src/ois/mac/MacPrereqs.h>`

List of all members.

## Public Member Functions

CFStringRef | cf_str ()
| OIS_CFString (const std::string &s_str)
| OIS_CFString (const char *c_str)
| OIS_CFString ()
| operator void * ()
| ~OIS_CFString ()

## Private Attributes

CFStringRef | m_StringRef

## Detailed Description

Simple wrapper class for CFString which will create a valid CFString and retain ownership until class instance is outof scope To Access the CFStringRef instance, simply cast to void*, pass into a function expecting a void* CFStringRef object, or access via cf_str() method

## Constructor & Destructor Documentation

OIS::OIS_CFString::OIS_CFString | ( |  | ) | `[inline]`

References m_StringRef.

OIS::OIS_CFString::OIS_CFString | ( | const char * | c_str | ) | `[inline]`

References m_StringRef.

OIS::OIS_CFString::OIS_CFString | ( | const std::string & | s_str | ) | `[inline]`

References m_StringRef.

OIS::OIS_CFString::~OIS_CFString | ( |  | ) | `[inline]`

References m_StringRef.

## Member Function Documentation

CFStringRef OIS::OIS_CFString::cf_str | ( |  | ) | `[inline]`

References m_StringRef.

OIS::OIS_CFString::operator void * | ( |  | ) | `[inline]`

References m_StringRef.

## Member Data Documentation

CFStringRef OIS::OIS_CFString::m_StringRef`[private]`

Referenced by cf_str(), OIS_CFString(), operator void *(), and ~OIS_CFString().

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

- src/ois/mac/MacPrereqs.h