Searched defs:ScopedCFTypeRef (Results 1 - 1 of 1) sorted by relevance

/external/chromium/base/mac/
H A Dscoped_cftyperef.h17 // ScopedCFTypeRef<> is patterned after scoped_ptr<>, but maintains ownership
22 // When ScopedCFTypeRef<> takes ownership of an object (in the constructor or
24 // caller must own the object it gives to ScopedCFTypeRef<>, and relinquishes
25 // an ownership claim to that object. ScopedCFTypeRef<> does not call
28 class ScopedCFTypeRef { class in namespace:base::mac
32 explicit ScopedCFTypeRef(CFT object = NULL) function in class:base::mac::ScopedCFTypeRef
36 ~ScopedCFTypeRef() {
63 void swap(ScopedCFTypeRef& that) {
69 // ScopedCFTypeRef<>::release() is like scoped_ptr<>::release. It is NOT
70 // a wrapper for CFRelease(). To force a ScopedCFTypeRef<> objec
[all...]

Completed in 65 milliseconds