API  1.0.0
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: 
 
(void) - performSelector:withObject:afterDelay: 
 
(void) - performSelector:withObject:afterDelay:inModes: 
 
(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: 
 
(void) + cancelPreviousPerformRequestsWithTarget: 
 
(void) + cancelPreviousPerformRequestsWithTarget:selector:object: 
 
(Class) + class 
 
(BOOL) + conformsToProtocol: 
 
(void) + exposeBinding: 
 
(void) + initialize 
 
(IMP) + instanceMethodForSelector: 
 
(BOOL) + instancesImplementSelector: 
 
(BOOL) + instancesRespondToSelector: 
 
(BOOL) + isBindingExclusive: 
 
(BOOL) + isSubclassOfClass: 
 
(CPSet) + keyPathsForValuesAffectingValueForKey: 
 
(void) + load 
 
(id) + new 
 
(void) + object:performSelector:withObject:afterDelay:inModes: 
 
(void) + setVersion: 
 
(Class) + superclass 
 
(int) + version 
 

Detailed Description

A Cappuccino wrapper for any data type.

Definition at line 2 of file CPData.h.

Method Documentation

◆ alloc()

+ (id) alloc
implementation

Allocates a new instance of the receiving class

Reimplemented from CPObject.

Definition at line 33 of file CPData.j.

◆ base64()

- (CPString) base64
implementation

Definition at line 141 of file CPData.j.

◆ bytes()

- (CPArray) bytes
implementation

Definition at line 136 of file CPData.j.

◆ data()

+ (CPData) data
implementation

Definition at line 40 of file CPData.j.

◆ dataWithBase64:()

+ (CPData) dataWithBase64: (CPString)  aString
implementation

Definition at line 73 of file CPData.j.

◆ dataWithBytes:()

+ (CPData) dataWithBytes: (CPArray)  bytesArray
implementation

Definition at line 65 of file CPData.j.

◆ dataWithJSONObject:()

+ (CPData) dataWithJSONObject: (Object)  anObject
implementation

Definition at line 60 of file CPData.j.

◆ dataWithPlistObject:()

+ (CPData) dataWithPlistObject: (id)  aPlistObject
implementation

Definition at line 50 of file CPData.j.

◆ dataWithPlistObject:format:()

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

Definition at line 55 of file CPData.j.

◆ dataWithRawString:()

+ (CPData) dataWithRawString: (CPString)  aString
implementation

Definition at line 45 of file CPData.j.

◆ dataWithString:()

+ (id) dataWithString: (CPString)  aString
implementation

Provided by category CPData(Deprecated).

Definition at line 184 of file CPData.j.

◆ description()

- (CPString) description
implementation

Returns a human readable string describing the receiver

Reimplemented from CPObject.

Definition at line 151 of file CPData.j.

◆ initWithJSONObject:()

- (id) initWithJSONObject: (Object)  anObject
implementation

Definition at line 111 of file CPData.j.

◆ initWithPlistObject:()

- (id) initWithPlistObject: (id)  aPlistObject
implementation

Definition at line 91 of file CPData.j.

◆ initWithPlistObject:format:()

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

Definition at line 101 of file CPData.j.

◆ initWithRawString:()

- (id) initWithRawString: (CPString)  aString
implementation

Definition at line 81 of file CPData.j.

◆ initWithString:()

- (id) initWithString: (CPString)  aString
implementation

Provided by category CPData(Deprecated).

Definition at line 191 of file CPData.j.

◆ JSONObject()

- (Object) JSONObject
implementation

Definition at line 131 of file CPData.j.

◆ length()

- (int) length
implementation

Definition at line 146 of file CPData.j.

◆ plistObject()

- (id) plistObject
implementation

Definition at line 126 of file CPData.j.

◆ rawString()

- (CPString) rawString
implementation

Definition at line 121 of file CPData.j.

◆ setJSONObject:()

- (void) setJSONObject: (Object)  anObject
implementation

Provided by category CPData(CPMutableData).

Definition at line 175 of file CPData.j.

◆ setPlistObject:()

- (void) setPlistObject: (id)  aPlistObject
implementation

Provided by category CPData(CPMutableData).

Definition at line 165 of file CPData.j.

◆ setPlistObject:format:()

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

Provided by category CPData(CPMutableData).

Definition at line 170 of file CPData.j.

◆ setRawString:()

- (void) setRawString: (CPString)  aString
implementation

Provided by category CPData(CPMutableData).

Definition at line 160 of file CPData.j.

◆ setString:()

- (void) setString: (CPString)  aString
implementation

Provided by category CPData(Deprecated).

Definition at line 198 of file CPData.j.

◆ string()

- (CPString) string
implementation

Provided by category CPData(Deprecated).

Definition at line 205 of file CPData.j.


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