Public Member Functions
cinder::cocoa::SafeNsData Class Reference

Represents an exception-safe Cocoa NSData which behaves like a shared_ptr but can implicitly cast itself to NSData*. More...

#import <CinderCocoa.h>

List of all members.

Public Member Functions

() - SafeNsData
() - SafeNsData
 Creates a SafeNsData using an existing cinder::Buffer. The SafeNsData retains a copy of the buffer in order to prevent its deletion.
() - operator NSData *const

Detailed Description

Represents an exception-safe Cocoa NSData which behaves like a shared_ptr but can implicitly cast itself to NSData*.


Constructor & Destructor Documentation

- cinder:
- cinder: (const Buffer &)  buffer

Creates a SafeNsData using an existing cinder::Buffer. The SafeNsData retains a copy of the buffer in order to prevent its deletion.


Member Function Documentation

- cinder:

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