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

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

#import <CinderCocoa.h>

List of all members.

Public Member Functions

() - SafeNsString
() - SafeNsString
 Creates a SafeNsString using an existing NSString. This constructor automatically increments the retain count.
() - SafeNsString
 Creates a SafeNsString by converting a std::string.
() - operator NSString *const
() - operator std::string

Detailed Description

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


Constructor & Destructor Documentation

- cinder:
- cinder: (NSString *)  str

Creates a SafeNsString using an existing NSString. This constructor automatically increments the retain count.

- cinder: (const std::string &)  str

Creates a SafeNsString by converting a std::string.


Member Function Documentation

- cinder:
- cinder: const

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