GPKGObjectResultSet
Objective-C
@interface GPKGObjectResultSet : NSObject <NSFastEnumeration>
Swift
class GPKGObjectResultSet : NSObject, NSFastEnumeration
Object wrapped Result set
-
Create
Declaration
Objective-C
+ (GPKGObjectResultSet *)createWithDao:(GPKGBaseDao *)dao andResults:(GPKGResultSet *)resultSet;Swift
class func create(with dao: GPKGBaseDao!, andResults resultSet: GPKGResultSet!) -> GPKGObjectResultSet!Parameters
daobase dao
resultSetresult set
Return Value
new object result set
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDao:(GPKGBaseDao *)dao andResults:(GPKGResultSet *)resultSet;Swift
init!(dao: GPKGBaseDao!, andResults resultSet: GPKGResultSet!)Parameters
daobase dao
resultSetresult set
Return Value
new object result set
-
Get the DAO
Return Value
DAO
-
Get the result set
Return Value
result set
-
Get the result set count
Declaration
Objective-C
- (int)count;Swift
func count() -> Int32Return Value
count
-
Move to the next result if one exists
Declaration
Objective-C
- (BOOL)moveToNext;Swift
func moveToNext() -> BoolReturn Value
true if a result found, false if no more results
-
Move to the first result
Declaration
Objective-C
- (BOOL)moveToFirst;Swift
func moveToFirst() -> BoolReturn Value
reset code
-
Move result to index position
Declaration
Objective-C
- (BOOL)moveToPosition:(int)position;Swift
func move(toPosition position: Int32) -> BoolParameters
positionindex position
Return Value
true if result at position found
-
Get the current object from the result set
Declaration
Objective-C
- (NSObject *)object;Swift
func object() -> NSObject!Return Value
object
-
Close the result set
Declaration
Objective-C
- (void)close;Swift
func close()
View on GitHub
GPKGObjectResultSet Class Reference