GPKGDataTypes

Objective-C

@interface GPKGDataTypes : NSObject

/**
 *  Get the name of the data type
 *
 *  @param dataType data type
 *
 *  @return data type name
 */
+(NSString *) name: (enum GPKGDataType) dataType;

/**
 *  Get the data type from the data type name
 *
 *  @param name data type name
 *
 *  @return data type
 */
+(enum GPKGDataType) fromName: (NSString *) name;

/**
 *  Get the object c class type of the data type
 *
 *  @param dataType data type
 *
 *  @return class type
 */
+(Class) classType: (enum GPKGDataType) dataType;

/**
 *  Get the SQLite type of the data type
 *
 *  @param dataType data type
 *
 *  @return SQLite type
 */
+(int) sqliteType: (enum GPKGDataType) dataType;

@end

Swift

class GPKGDataTypes : NSObject

Undocumented

  • Get the name of the data type

    Declaration

    Objective-C

    + (NSString *)name:(enum GPKGDataType)dataType;

    Swift

    class func name(_ dataType: GPKGDataType) -> String!

    Parameters

    dataType

    data type

    Return Value

    data type name

  • Get the data type from the data type name

    Declaration

    Objective-C

    + (enum GPKGDataType)fromName:(NSString *)name;

    Swift

    class func fromName(_ name: String!) -> GPKGDataType

    Parameters

    name

    data type name

    Return Value

    data type

  • Get the object c class type of the data type

    Declaration

    Objective-C

    + (Class)classType:(enum GPKGDataType)dataType;

    Swift

    class func classType(_ dataType: GPKGDataType) -> AnyClass!

    Parameters

    dataType

    data type

    Return Value

    class type

  • Get the SQLite type of the data type

    Declaration

    Objective-C

    + (int)sqliteType:(enum GPKGDataType)dataType;

    Swift

    class func sqliteType(_ dataType: GPKGDataType) -> Int32

    Parameters

    dataType

    data type

    Return Value

    SQLite type