GPKGRelationTypes
Objective-C
@interface GPKGRelationTypes : NSObject
/**
* Get the name of the relation type
*
* @param relationType relation type
*
* @return relation type name
*/
+(NSString *) name: (enum GPKGRelationType) relationType;
/**
* Get the relation type from the name
*
* @param name relation type name
*
* @return relation type
*/
+(enum GPKGRelationType) fromName: (NSString *) name;
/**
* Get the contents data type
*
* @param relationType relation type
*/
+(NSString *) dataType: (enum GPKGRelationType) relationType;
@end
Swift
class GPKGRelationTypes : NSObject
Undocumented
-
Get the name of the relation type
Declaration
Objective-C
+ (NSString *)name:(enum GPKGRelationType)relationType;
Swift
class func name(_ relationType: GPKGRelationType) -> String!
Parameters
relationType
relation type
Return Value
relation type name
-
Get the relation type from the name
Declaration
Objective-C
+ (enum GPKGRelationType)fromName:(NSString *)name;
Swift
class func fromName(_ name: String!) -> GPKGRelationType
Parameters
name
relation type name
Return Value
relation type
-
Get the contents data type
Declaration
Objective-C
+ (NSString *)dataType:(enum GPKGRelationType)relationType;
Swift
class func dataType(_ relationType: GPKGRelationType) -> String!
Parameters
relationType
relation type