Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

NSObject Interface Reference

NSObject class. More...

#import <nsobject.h>

Inheritance diagram for NSObject:

NSArray NSCharacterSet NSData NSFileHandle NSFileManager NSString NSMutableArray NSMutableString List of all members.

Public Member Functions

(id) init
 Initialize instance of NSObject class.

(void) dealloc
 Release resource for the object.

(id) retain
 Increment the reference count.

(oneway void) release
 Decrement the reference count.


Protected Attributes

int ref_count

Detailed Description

NSObject class.

Description
NSObject class is a super class of all other classes. This class operates allocation and deallocation of class object. All classes must inherit this class.


Member Function Documentation

- (void) NSObject:
 

Release resource for the object.

Description
Release resource for the object.

Implemented in NSArray, NSCharacterSet, NSData, NSFileHandle, NSMutableArray, NSMutableString, and NSString.

- (id) NSObject:
 

Initialize instance of NSObject class.

Returns:
New object.
Description
Initialize instance of NSObject class.

Implemented in NSCharacterSet, NSData, NSMutableString, and NSString.

- (oneway void) NSObject:
 

Decrement the reference count.

Description
Decrement the reference count. If the reference count is zero, the object is disposed. This method is supported only Unix systems. Not MacOS-X.

- (id) NSObject:
 

Increment the reference count.

Description
Increment the reference count. This method is supported only Unix systems. Not MacOS-X.


Member Data Documentation

int NSObject::ref_count [protected]
 

Reference count


The documentation for this interface was generated from the following file:
Generated on Wed Jul 14 18:32:13 2004 for Cacao by doxygen 1.3.6