ISFSObject Protocol Reference
Conforms to | NSObject |
Declared in | ISFSObject.h |
Tasks
-
– isNull:
Checks if a specific element in the SFSObject is null
required method -
– containsKey:
Returns true if an element exists with the provided key
required method -
– removeElement:
Removes an element
required method -
– getKeys
Return an array with all the keys in the SFSObject
required method -
– size
Return the number of elements in the SFSObject
required method -
– toBinary
Return the binary form of the object
required method -
– getDump:
Return a formatted dump of the object that can logged or traced in the console for debugging purposes.
required method -
– getHexDump
Returns a detailed hex-dump of the object that can logged or traced in the console for debugging purposes.
required method -
– getBool:
Get the element for the provided key as a Boolean
required method -
– getByte:
Get the element for the provided key as a signed byte (8 bit) (int in AS3)
required method -
– getUnsignedByte:
Get the element for the provided key as a unsigned byte (8 bit) (int in AS3)
required method -
– getShort:
Get the element for the provided key as a short int (16 bit) (int in AS3)
required method -
– getInt:
Get the element for the provided key as an int (32 bit)
required method -
– getLong:
Get the element for the provided key as a long int (64 bit) (Number in AS3)
required method -
– getFloat:
Get the element for the provided key as a float (Number in AS3)
required method -
– getDouble:
Get the element for the provided key as a double (Number in AS3)
required method -
– getUtfString:
Get the element for the provided key as a UTF-8 String
required method -
– getBoolArray:
Get the element for the provided key as an array of Booleans
required method -
– getByteArray:
Get the element for the provided key as a an array of byte
required method -
– getUnsignedByteArray:
Get the element for the provided key as a an array of integers representing each byte as unsigned values
required method -
– getShortArray:
Get the element for the provided key as an array of short int
required method -
– getIntArray:
Get the element for the provided key as an array of int
required method -
– getLongArray:
Get the element for the provided key as an array of long int
required method -
– getFloatArray:
Get the element for the provided key as an array of floats
required method -
– getDoubleArray:
Get the element for the provided key as an array of doubles
required method -
– getUtfStringArray:
Get the element for the provided key as an array of UTF-8 Strings
required method -
– getSFSArray:
Get the element for the provided key as an SFSArray
required method -
– getSFSObject:
Get the element for the provided key as an SFSObject
required method -
– putBool:value:
puts a Boolean value with the provided key
required method -
– putByte:value:
puts a byte value (8 bit) with the provided key
required method -
– putShort:value:
puts a short int (16 bit) with the provided key
required method -
– putInt:value:
puts an int (32 bit) with the provided key
required method -
– putLong:value:
puts a long int (64 bit) with the provided key
required method -
– putFloat:value:
puts a float (32 bit) with the provided key
required method -
– putDouble:value:
puts a double (64 bit) with the provided key
required method -
– putUtfString:value:
puts a UTF-8 String with the provided key
required method -
– putBoolArray:value:
puts an array of Booleans with the provided key
required method -
– putByteArray:value:
puts an array of bytes with the provided key
required method -
– putShortArray:value:
puts an array of short ints with the provided key
required method -
– putIntArray:value:
puts an array of ints with the provided key
required method -
– putLongArray:value:
puts an array of long ints with the provided key
required method -
– putFloatArray:value:
puts an array of floats with the provided key
required method -
– putDoubleArray:value:
puts an array of doubles with the provided key
required method -
– putUtfStringArray:value:
puts an array of Strings with the provided key
required method -
– putSFSArray:value:
puts an SFSArray with the provided key
required method -
– putSFSObject:value:
puts an SFSObject with the provided key
required method
Instance Methods
containsKey:
Returns true if an element exists with the provided key
- (BOOL)containsKey:(NSString *)key
Discussion
Returns true if an element exists with the provided key
Declared In
ISFSObject.h
getBool:
Get the element for the provided key as a Boolean
- (BOOL)getBool:(NSString *)key
Discussion
Get the element for the provided key as a Boolean
Declared In
ISFSObject.h
getBoolArray:
Get the element for the provided key as an array of Booleans
- (NSArray *)getBoolArray:(NSString *)key
Discussion
Get the element for the provided key as an array of Booleans
Declared In
ISFSObject.h
getByte:
Get the element for the provided key as a signed byte (8 bit) (int in AS3)
- (NSInteger)getByte:(NSString *)key
Discussion
Get the element for the provided key as a signed byte (8 bit) (int in AS3)
Declared In
ISFSObject.h
getByteArray:
Get the element for the provided key as a an array of byte
- (NSData *)getByteArray:(NSString *)key
Discussion
Get the element for the provided key as a an array of byte
Declared In
ISFSObject.h
getDouble:
Get the element for the provided key as a double (Number in AS3)
- (NSNumber *)getDouble:(NSString *)key
Discussion
Get the element for the provided key as a double (Number in AS3)
Declared In
ISFSObject.h
getDoubleArray:
Get the element for the provided key as an array of doubles
- (NSArray *)getDoubleArray:(NSString *)key
Discussion
Get the element for the provided key as an array of doubles
Declared In
ISFSObject.h
getDump:
Return a formatted dump of the object that can logged or traced in the console for debugging purposes.
- (NSString *)getDump:(BOOL)format
Parameters
- format
turns the “pretty print” on/off
Discussion
Return a formatted dump of the object that can logged or traced in the console for debugging purposes.
Declared In
ISFSObject.h
getFloat:
Get the element for the provided key as a float (Number in AS3)
- (NSNumber *)getFloat:(NSString *)key
Discussion
Get the element for the provided key as a float (Number in AS3)
Declared In
ISFSObject.h
getFloatArray:
Get the element for the provided key as an array of floats
- (NSArray *)getFloatArray:(NSString *)key
Discussion
Get the element for the provided key as an array of floats
Declared In
ISFSObject.h
getHexDump
Returns a detailed hex-dump of the object that can logged or traced in the console for debugging purposes.
- (NSString *)getHexDump
Discussion
Returns a detailed hex-dump of the object that can logged or traced in the console for debugging purposes.
Declared In
ISFSObject.h
getInt:
Get the element for the provided key as an int (32 bit)
- (NSInteger)getInt:(NSString *)key
Discussion
Get the element for the provided key as an int (32 bit)
Declared In
ISFSObject.h
getIntArray:
Get the element for the provided key as an array of int
- (NSArray *)getIntArray:(NSString *)key
Discussion
Get the element for the provided key as an array of int
Declared In
ISFSObject.h
getKeys
Return an array with all the keys in the SFSObject
- (NSArray *)getKeys
Discussion
Return an array with all the keys in the SFSObject
Declared In
ISFSObject.h
getLong:
Get the element for the provided key as a long int (64 bit) (Number in AS3)
- (NSNumber *)getLong:(NSString *)key
Discussion
Get the element for the provided key as a long int (64 bit) (Number in AS3)
Declared In
ISFSObject.h
getLongArray:
Get the element for the provided key as an array of long int
- (NSArray *)getLongArray:(NSString *)key
Discussion
Get the element for the provided key as an array of long int
Declared In
ISFSObject.h
getSFSArray:
Get the element for the provided key as an SFSArray
- (id<ISFSArray>)getSFSArray:(NSString *)key
Discussion
Get the element for the provided key as an SFSArray
Declared In
ISFSObject.h
getSFSObject:
Get the element for the provided key as an SFSObject
- (id<ISFSObject>)getSFSObject:(NSString *)key
Discussion
Get the element for the provided key as an SFSObject
Declared In
ISFSObject.h
getShort:
Get the element for the provided key as a short int (16 bit) (int in AS3)
- (NSInteger)getShort:(NSString *)key
Discussion
Get the element for the provided key as a short int (16 bit) (int in AS3)
Declared In
ISFSObject.h
getShortArray:
Get the element for the provided key as an array of short int
- (NSArray *)getShortArray:(NSString *)key
Discussion
Get the element for the provided key as an array of short int
Declared In
ISFSObject.h
getUnsignedByte:
Get the element for the provided key as a unsigned byte (8 bit) (int in AS3)
- (NSInteger)getUnsignedByte:(NSString *)key
Discussion
Get the element for the provided key as a unsigned byte (8 bit) (int in AS3)
Declared In
ISFSObject.h
getUnsignedByteArray:
Get the element for the provided key as a an array of integers representing each byte as unsigned values
- (NSArray *)getUnsignedByteArray:(NSString *)key
Discussion
Get the element for the provided key as a an array of integers representing each byte as unsigned values
Declared In
ISFSObject.h
getUtfString:
Get the element for the provided key as a UTF-8 String
- (NSString *)getUtfString:(NSString *)key
Discussion
Get the element for the provided key as a UTF-8 String
Declared In
ISFSObject.h
getUtfStringArray:
Get the element for the provided key as an array of UTF-8 Strings
- (NSArray *)getUtfStringArray:(NSString *)key
Discussion
Get the element for the provided key as an array of UTF-8 Strings
Declared In
ISFSObject.h
isNull:
Checks if a specific element in the SFSObject is null
- (BOOL)isNull:(NSString *)key
Discussion
Checks if a specific element in the SFSObject is null
Declared In
ISFSObject.h
putBool:value:
puts a Boolean value with the provided key
- (void)putBool:(NSString *)key value:(BOOL)value
Discussion
puts a Boolean value with the provided key
Declared In
ISFSObject.h
putBoolArray:value:
puts an array of Booleans with the provided key
- (void)putBoolArray:(NSString *)key value:(NSArray *)value
Discussion
puts an array of Booleans with the provided key
Declared In
ISFSObject.h
putByte:value:
puts a byte value (8 bit) with the provided key
- (void)putByte:(NSString *)key value:(NSInteger)value
Discussion
puts a byte value (8 bit) with the provided key
Declared In
ISFSObject.h
putByteArray:value:
puts an array of bytes with the provided key
- (void)putByteArray:(NSString *)key value:(NSData *)value
Discussion
puts an array of bytes with the provided key
Declared In
ISFSObject.h
putDouble:value:
puts a double (64 bit) with the provided key
- (void)putDouble:(NSString *)key value:(NSNumber *)value
Discussion
puts a double (64 bit) with the provided key
Declared In
ISFSObject.h
putDoubleArray:value:
puts an array of doubles with the provided key
- (void)putDoubleArray:(NSString *)key value:(NSArray *)value
Discussion
puts an array of doubles with the provided key
Declared In
ISFSObject.h
putFloat:value:
puts a float (32 bit) with the provided key
- (void)putFloat:(NSString *)key value:(NSNumber *)value
Discussion
puts a float (32 bit) with the provided key
Declared In
ISFSObject.h
putFloatArray:value:
puts an array of floats with the provided key
- (void)putFloatArray:(NSString *)key value:(NSArray *)value
Discussion
puts an array of floats with the provided key
Declared In
ISFSObject.h
putInt:value:
puts an int (32 bit) with the provided key
- (void)putInt:(NSString *)key value:(NSInteger)value
Discussion
puts an int (32 bit) with the provided key
Declared In
ISFSObject.h
putIntArray:value:
puts an array of ints with the provided key
- (void)putIntArray:(NSString *)key value:(NSArray *)value
Discussion
puts an array of ints with the provided key
Declared In
ISFSObject.h
putLong:value:
puts a long int (64 bit) with the provided key
- (void)putLong:(NSString *)key value:(NSNumber *)value
Discussion
puts a long int (64 bit) with the provided key
Declared In
ISFSObject.h
putLongArray:value:
puts an array of long ints with the provided key
- (void)putLongArray:(NSString *)key value:(NSArray *)value
Discussion
puts an array of long ints with the provided key
Declared In
ISFSObject.h
putSFSArray:value:
puts an SFSArray with the provided key
- (void)putSFSArray:(NSString *)key value:(id<ISFSArray>)value
Discussion
puts an SFSArray with the provided key
See Also
Declared In
ISFSObject.h
putSFSObject:value:
puts an SFSObject with the provided key
- (void)putSFSObject:(NSString *)key value:(id<ISFSObject>)value
Discussion
puts an SFSObject with the provided key
Declared In
ISFSObject.h
putShort:value:
puts a short int (16 bit) with the provided key
- (void)putShort:(NSString *)key value:(NSInteger)value
Discussion
puts a short int (16 bit) with the provided key
Declared In
ISFSObject.h
putShortArray:value:
puts an array of short ints with the provided key
- (void)putShortArray:(NSString *)key value:(NSArray *)value
Discussion
puts an array of short ints with the provided key
Declared In
ISFSObject.h
putUtfString:value:
puts a UTF-8 String with the provided key
- (void)putUtfString:(NSString *)key value:(NSString *)value
Discussion
puts a UTF-8 String with the provided key
Declared In
ISFSObject.h
putUtfStringArray:value:
puts an array of Strings with the provided key
- (void)putUtfStringArray:(NSString *)key value:(NSArray *)value
Discussion
puts an array of Strings with the provided key
Declared In
ISFSObject.h
removeElement:
Removes an element
- (void)removeElement:(NSString *)key
Discussion
Removes an element
Declared In
ISFSObject.h