API  0.9.6
 All Classes Files Functions Variables Macros Modules Pages
CPData Class Reference

A Cappuccino wrapper for any data type. More...

#import <CPData.h>

+ Inheritance diagram for CPData:

Instance Methods

(CPString- base64
 
(CPArray- bytes
 
(CPString- description
 
(id) - initWithJSONObject:
 
(id) - initWithPlistObject:
 
(id) - initWithPlistObject:format:
 
(id) - initWithRawString:
 
(id) - initWithString:
 
(Object) - JSONObject
 
(int) - length
 
(id) - plistObject
 
(CPString- rawString
 
(void) - setJSONObject:
 
(void) - setPlistObject:
 
(void) - setPlistObject:format:
 
(void) - setRawString:
 
(void) - setString:
 
(CPString- string
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context:
 
(void) - applyChange:toKeyPath:
 
(id) - autorelease
 
(id) - awakeAfterUsingCoder:
 
(void) - awakeFromCib
 
(void) - bind:toObject:withKeyPath:options:
 
(Class) - classForCoder
 
(Class) - classForKeyedArchiver
 
(CPString- className
 
(id) - copy
 
(void) - dealloc
 
(CPDictionary- dictionaryWithValuesForKeys:
 
(void) - didChange:valuesAtIndexes:forKey:
 
(void) - didChangeValueForKey:
 
(void) - didChangeValueForKey:withSetMutation:usingObjects:
 
(void) - doesNotRecognizeSelector:
 
(CPArray- exposedBindings
 
(id) - forwardingTargetForSelector:
 
(void) - forwardInvocation:
 
(unsigned) - hash
 
(BOOL) - implementsSelector:
 
(CPDictionary- infoForBinding:
 
(id) - init
 
(BOOL) - isEqual:
 
(BOOL) - isKindOfClass:
 
(BOOL) - isMemberOfClass:
 
(BOOL) - isProxy
 
(IMP) - methodForSelector:
 
(CPMethodSignature) - methodSignatureForSelector:
 
(id) - mutableArrayValueForKey:
 
(id) - mutableArrayValueForKeyPath:
 
(id) - mutableCopy
 
(id) - mutableSetValueForKey:
 
(id) - mutableSetValueForKeyPath:
 
(id) - performSelector:
 
(id) - performSelector:withObject:
 
(id) - performSelector:withObject:withObject:
 
(id) - performSelector:withObjects:
 
(void) - release
 
(void) - removeObserver:forKeyPath:
 
(id) - replacementObjectForArchiver:
 
(id) - replacementObjectForCoder:
 
(id) - replacementObjectForKeyedArchiver:
 
(BOOL) - respondsToSelector:
 
(id) - retain
 
(id) - self
 
(void) - setValue:forKey:
 
(void) - setValue:forKeyPath:
 
(void) - setValue:forUndefinedKey:
 
(void) - setValuesForKeysWithDictionary:
 
(CPString- UID
 
(void) - unbind:
 
(Class) - valueClassForBinding:
 
(id) - valueForKey:
 
(id) - valueForKeyPath:
 
(id) - valueForUndefinedKey:
 
(void) - willChange:valuesAtIndexes:forKey:
 
(void) - willChangeValueForKey:
 
(void) - willChangeValueForKey:withSetMutation:usingObjects:
 

Class Methods

(id) + alloc
 
(CPData+ data
 
(CPData+ dataWithBase64:
 
(CPData+ dataWithBytes:
 
(CPData+ dataWithJSONObject:
 
(CPData+ dataWithPlistObject:
 
(CPData+ dataWithPlistObject:format:
 
(CPData+ dataWithRawString:
 
(id) + dataWithString:
 
- Class Methods inherited from CPObject
(BOOL) + accessInstanceVariablesDirectly
 
(id) + allocWithCoder:
 
(BOOL) + automaticallyNotifiesObserversForKey:
 
(Class) + class
 
(void) + exposeBinding:
 
(void) + initialize
 
(IMP) + instanceMethodForSelector:
 
(BOOL) + instancesRespondToSelector:
 
(BOOL) + isSubclassOfClass:
 
(CPSet+ keyPathsForValuesAffectingValueForKey:
 
(void) + load
 
(id) + new
 
(void) + setVersion:
 
(Class) + superclass
 
(int) + version
 

Additional Inherited Members

- Instance Variables inherited from CPObject
Class isa
 

Detailed Description

A Cappuccino wrapper for any data type.

Definition at line 2 of file CPData.h.

Method Documentation

+ (id) alloc
implementation

Allocates a new instance of the receiving class

Reimplemented from CPObject.

Definition at line 34 of file CPData.j.

- (CPString) base64
implementation

Definition at line 142 of file CPData.j.

- (CPArray) bytes
implementation

Definition at line 137 of file CPData.j.

+ (CPData) data
implementation

Definition at line 41 of file CPData.j.

+ (CPData) dataWithBase64: (CPString aString
implementation

Definition at line 74 of file CPData.j.

+ (CPData) dataWithBytes: (CPArray bytesArray
implementation

Definition at line 66 of file CPData.j.

+ (CPData) dataWithJSONObject: (Object)  anObject
implementation

Definition at line 61 of file CPData.j.

+ (CPData) dataWithPlistObject: (id)  aPlistObject
implementation

Definition at line 51 of file CPData.j.

+ (CPData) dataWithPlistObject: (id)  aPlistObject
format: (CPPropertyListFormat)  aFormat 
implementation

Definition at line 56 of file CPData.j.

+ (CPData) dataWithRawString: (CPString aString
implementation

Definition at line 46 of file CPData.j.

+ (id) dataWithString: (CPString aString
implementation

Provided by category CPData(Deprecated).

Definition at line 185 of file CPData.j.

- (CPString) description
implementation

Returns a human readable string describing the receiver

Reimplemented from CPObject.

Definition at line 152 of file CPData.j.

- (id) initWithJSONObject: (Object)  anObject
implementation

Definition at line 112 of file CPData.j.

- (id) initWithPlistObject: (id)  aPlistObject
implementation

Definition at line 92 of file CPData.j.

- (id) initWithPlistObject: (id)  aPlistObject
format: (id)  aFormat 
implementation

Definition at line 102 of file CPData.j.

- (id) initWithRawString: (CPString aString
implementation

Definition at line 82 of file CPData.j.

- (id) initWithString: (CPString aString
implementation

Provided by category CPData(Deprecated).

Definition at line 192 of file CPData.j.

- (Object) JSONObject
implementation

Definition at line 132 of file CPData.j.

- (int) length
implementation

Definition at line 147 of file CPData.j.

- (id) plistObject
implementation

Definition at line 127 of file CPData.j.

- (CPString) rawString
implementation

Definition at line 122 of file CPData.j.

- (void) setJSONObject: (Object)  anObject
implementation

Provided by category CPData(CPMutableData).

Definition at line 176 of file CPData.j.

- (void) setPlistObject: (id)  aPlistObject
implementation

Provided by category CPData(CPMutableData).

Definition at line 166 of file CPData.j.

- (void) setPlistObject: (id)  aPlistObject
format: (CPPropertyListFormat)  aFormat 
implementation

Provided by category CPData(CPMutableData).

Definition at line 171 of file CPData.j.

- (void) setRawString: (CPString aString
implementation

Provided by category CPData(CPMutableData).

Definition at line 161 of file CPData.j.

- (void) setString: (CPString aString
implementation

Provided by category CPData(Deprecated).

Definition at line 199 of file CPData.j.

- (CPString) string
implementation

Provided by category CPData(Deprecated).

Definition at line 206 of file CPData.j.


The documentation for this class was generated from the following files: