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

NSData Interface Reference

NSData class operates the information for command line options. More...

#import <nsdata.h>

Inheritance diagram for NSData:

NSObject List of all members.

Public Member Functions

(id) init
 Generate empty NSData object.
Returns:
Generated object.


(id) initWithBytesNoCopy:length:
 Initialize NSData instance by given data.
Returns:
The object itself.


(id) initWithBytes:length:
 Initialize NSData instance by given data.
Returns:
The object itself.


(void) dealloc
 Release the content of CSV data.

(const void *) bytes
 Get the content of data.
Returns:
Pointer of the data.


(size_t) length
 Return the length of content data.


Static Public Member Functions

(id) data
 Make empty data.
Returns:
Empty NSData object.


(id) dataWithBytes:length:
 Make given size and content data.
Returns:
NSData object contains copy of input data.


(id) dataWithBytesNoCopy:length:
 Initialize NSData instance by given data.
Returns:
The object itself.



Protected Attributes

void * memory_object
size_t object_length

Detailed Description

NSData class operates the information for command line options.

Description
NSData class operates the information for command line options.


Member Function Documentation

- (const void *) NSData:
 

Get the content of data.

Returns:
Pointer of the data.

Description
Get the content of data.

+ (id) NSData:
 

Make empty data.

Returns:
Empty NSData object.

Description
Make empty data.

+ (id) NSData: (id) 
(const void *) 
(id)  bytes
length: (id) 
(size_t) 
(id)  length
 

Make given size and content data.

Returns:
NSData object contains copy of input data.

Parameters:
bytes Pointer of source data.
length Size of source data.
Description
Make given size and content data.

+ (id) NSData: (id) 
(void *) 
(id)  bytes
length: (id) 
(size_t) 
(id)  length
 

Initialize NSData instance by given data.

Returns:
The object itself.

Parameters:
bytes Source data.
length Size of source data.
Description
Initialize NSData instance by given data. Warning: You have to give memory object which allocated malloc().

- (void) NSData:
 

Release the content of CSV data.

Description
Release the content of CSV data.

Implements NSObject.

- (id) NSData:
 

Generate empty NSData object.

Returns:
Generated object.

Description
Generate empty NSData object.

Implements NSObject.

- (id) NSData: (id) 
(const void *) 
(id)  bytes
length: (id) 
(size_t) 
(id)  length
 

Initialize NSData instance by given data.

Returns:
The object itself.

Parameters:
bytes Source data.
length Size of source data.
Description
Initialize NSData instance by given data.

- (id) NSData: (id) 
(void *) 
(id)  bytes
length: (id) 
(size_t) 
(id)  length
 

Initialize NSData instance by given data.

Returns:
The object itself.

Parameters:
bytes Source data.
length Size of source data.
Description
Initialize NSData instance by given data. Warning: You have to give memory object which allocated malloc().

- (size_t) NSData:
 

Return the length of content data.

Description
Return the length of content data.


Member Data Documentation

void* NSData::memory_object [protected]
 

Pointer of memory object

size_t NSData::object_length [protected]
 

Size of memory object


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