NSObject Class 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) dealloc  
 

Release resource for the object.

Description
Release resource for the object.

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

- (id) init  
 

Initialize instance of NSObject class.

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

Reimplemented in NSCharacterSet, NSData, NSMutableString, and NSString.

- (oneway void) release  
 

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) retain  
 

Increment the reference count.

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


Member Data Documentation

- (int) ref_count [protected]
 

Reference count


The documentation for this class was generated from the following files:
Generated on Fri Feb 3 01:08:12 2006 for Cacao by  doxygen 1.4.5