Inherits from NSObject
Declared in RedlandWrappedObject.h
RedlandWrappedObject.m

Overview

The abstract base class for all wrapped Redland objects.

Every object in this framework which maps directly to one of the underlying librdf pseudoclasses is implemented as a subclass of RedlandWrappedObject.

Tasks

Instance Methods

initWithWrappedObject:

The designated initializer.

- (id)initWithWrappedObject:(void *)object

Parameters

object

The pointer to the librdf object

Discussion

The designated initializer.

Initialises the receiver to use the given pointer as its underlying wrapped object. The receiver is considered the owner of the object.

Declared In

RedlandWrappedObject.m

initWithWrappedObject:owner:

Initialises the receiver to use the given pointer as its underlying wrapped object.

- (id)initWithWrappedObject:(void *)object owner:(BOOL)ownerFlag

Parameters

object

The pointer to the librdf object

ownerFlag

If TRUE, the receiver considers itself the owner of the underlying librdf object and will possibly free it when the receiver is deallocated.

Discussion

Initialises the receiver to use the given pointer as its underlying wrapped object.

Declared In

RedlandWrappedObject.m