From 9e0da1ad71ea178867a8d3419f80a46b42c32d4c Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 26 Sep 2012 02:45:14 +0000 Subject: Comments. --- .../PostgresKit/Source/FLXPostgresTypeNumberHandler.m | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Frameworks') diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeNumberHandler.m b/Frameworks/PostgresKit/Source/FLXPostgresTypeNumberHandler.m index b3cc9fe3..a8fbc631 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresTypeNumberHandler.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeNumberHandler.m @@ -95,6 +95,11 @@ static FLXPostgresOid FLXPostgresTypeNumberTypes[] = #pragma mark - #pragma mark Integer +/** + * Converts an integer value to an NSNumber instance. + * + * @return An NSNumber representation of the the value. + */ - (id)_integerObjectFromResult { NSUInteger length = PQgetlength(_result, (int)_row, (int)_column); @@ -127,6 +132,11 @@ static FLXPostgresOid FLXPostgresTypeNumberTypes[] = #pragma mark - #pragma mark Floating Point +/** + * Converts a float value to an NSNumber instance. + * + * @return An NSNumber representation of the the value. + */ - (id)_floatObjectFromResult { NSUInteger length = PQgetlength(_result, (int)_row, (int)_column); @@ -154,6 +164,11 @@ static FLXPostgresOid FLXPostgresTypeNumberTypes[] = #pragma mark - #pragma mark Boolean +/** + * Converts a boolean value to an NSNumber instance. + * + * @return An NSNumber representation of the the value. + */ - (id)_booleanObjectFromResult { PGbool b; -- cgit v1.2.3