Remove Retain() method in favour of adding more constructors which take a ScopedCFTypeRef and explicitly CFRetain the reference themselves
Add a reset() method which CFReleases the existing ref_ and sets it to the new ref
Also:
Add type templates to AXAPINode's GetRawValue() and GetRawArrayValueAtIndex() methods
(Note: I made these improvements in the course of working on #166 only to find they weren't necessary there, but I figured I may as well keep them anyway since they'll make life easier in future.)
Retain()
method in favour of adding more constructors which take aScopedCFTypeRef
and explicitlyCFRetain
the reference themselvesreset()
method whichCFRelease
s the existingref_
and sets it to the newref
Also:
AXAPINode
'sGetRawValue()
andGetRawArrayValueAtIndex()
methods(Note: I made these improvements in the course of working on #166 only to find they weren't necessary there, but I figured I may as well keep them anyway since they'll make life easier in future.)