Type Definitions
The following type definitions are available globally.
-
Undocumented
-
Undocumented
-
Undocumented
Declaration
Objective-C
typedef struct P5_FACTORS PJ_FACTORS
Swift
typealias PJ_FACTORS = P5_FACTORS
-
Undocumented
Declaration
Objective-C
typedef struct PJconsts PJ
-
Undocumented
-
Undocumented
Declaration
Objective-C
typedef struct PJ_PROJ_INFO PJ_PROJ_INFO
-
Undocumented
Declaration
Objective-C
typedef struct PJ_GRID_INFO PJ_GRID_INFO
-
Undocumented
Declaration
Objective-C
typedef struct PJ_INIT_INFO PJ_INIT_INFO
-
Undocumented
-
Undocumented
-
Undocumented
Declaration
Objective-C
typedef struct PJ_PRIME_MERIDIANS PJ_PRIME_MERIDIANS
-
Undocumented
Declaration
Objective-C
typedef void (*PJ_LOG_FUNCTION)(void *, int, const char *)
Swift
typealias PJ_LOG_FUNCTION = (UnsafeMutableRawPointer?, Int32, UnsafePointer<CChar>?) -> Void
-
Undocumented
Declaration
Objective-C
typedef struct pj_ctx PJ_CONTEXT
-
Callback to resolve a filename to a full path
Declaration
Objective-C
typedef const char *(*proj_file_finder)(PJ_CONTEXT *, const char *, void *)
Swift
typealias proj_file_finder = (OpaquePointer?, UnsafePointer<CChar>?, UnsafeMutableRawPointer?) -> UnsafePointer<CChar>?
-
Opaque structure for PROJ for a file handle. Implementations might cast it
- to their structure/class of choice.
Declaration
Objective-C
typedef struct PROJ_FILE_HANDLE PROJ_FILE_HANDLE
-
File API callbacks
See moreDeclaration
Objective-C
typedef struct PROJ_FILE_API PROJ_FILE_API
-
Opaque structure for PROJ for a network handle. Implementations might cast
- it to their structure/class of choice.
Declaration
Objective-C
typedef struct PROJ_NETWORK_HANDLE PROJ_NETWORK_HANDLE
-
Network access: open callback *
- Should try to read the size_to_read first bytes at the specified offset of
- the file given by URL url,
- and write them to buffer. *out_size_read should be updated with the actual
- amount of bytes read (== size_to_read if the file is larger than
- size_to_read). During this read, the implementation should make sure to store
- the HTTP headers from the server response to be able to respond to
- proj_network_get_header_value_cbk_type callback. *
- error_string_max_size should be the maximum size that can be written into
- the out_error_string buffer (including terminating nul character). *
- - returns: a non-NULL opaque handle in case of success.
Declaration
Objective-C
typedef PROJ_NETWORK_HANDLE *(*proj_network_open_cbk_type)( PJ_CONTEXT *, const char *, unsigned long long, size_t, void *, size_t *, size_t, char *, void *)
Swift
typealias proj_network_open_cbk_type = (OpaquePointer?, UnsafePointer<CChar>?, UInt64, Int, UnsafeMutableRawPointer?, UnsafeMutablePointer<Int>?, Int, UnsafeMutablePointer<CChar>?, UnsafeMutableRawPointer?) -> OpaquePointer?
-
Network access: close callback
Declaration
Objective-C
typedef void (*proj_network_close_cbk_type)(PJ_CONTEXT *, PROJ_NETWORK_HANDLE *, void *)
Swift
typealias proj_network_close_cbk_type = (OpaquePointer?, OpaquePointer?, UnsafeMutableRawPointer?) -> Void
-
Network access: get HTTP headers
Declaration
Objective-C
typedef const char *(*proj_network_get_header_value_cbk_type)( PJ_CONTEXT *, PROJ_NETWORK_HANDLE *, const char *, void *)
Swift
typealias proj_network_get_header_value_cbk_type = (OpaquePointer?, OpaquePointer?, UnsafePointer<CChar>?, UnsafeMutableRawPointer?) -> UnsafePointer<CChar>?
-
Network access: read range *
- Read size_to_read bytes from handle, starting at offset, into
- buffer.
- During this read, the implementation should make sure to store the HTTP
- headers from the server response to be able to respond to
- proj_network_get_header_value_cbk_type callback. *
- error_string_max_size should be the maximum size that can be written into
- the out_error_string buffer (including terminating nul character). *
- - returns: the number of bytes actually read (0 in case of error)
Declaration
Objective-C
typedef size_t (*proj_network_read_range_type)(PJ_CONTEXT *, PROJ_NETWORK_HANDLE *, unsigned long long, size_t, void *, size_t, char *, void *)
Swift
typealias proj_network_read_range_type = (OpaquePointer?, OpaquePointer?, UInt64, Int, UnsafeMutableRawPointer?, Int, UnsafeMutablePointer<CChar>?, UnsafeMutableRawPointer?) -> Int
-
\brief Type representing a NULL terminated list of NULL-terminate strings.
Declaration
Objective-C
typedef char **PROJ_STRING_LIST
Swift
typealias PROJ_STRING_LIST = UnsafeMutablePointer<UnsafeMutablePointer<CChar>?>
-
\brief Structure given overall description of a CRS. *
- This structure may grow over time, and should not be directly allocated by
- client code.
Declaration
Objective-C
typedef struct PROJ_CRS_INFO PROJ_CRS_INFO
-
\brief Structure describing optional parameters for proj_get_crs_list(); *
- This structure may grow over time, and should not be directly allocated by
- client code.
Declaration
Objective-C
typedef struct PROJ_CRS_LIST_PARAMETERS PROJ_CRS_LIST_PARAMETERS
-
\brief Structure given description of a unit. *
- This structure may grow over time, and should not be directly allocated by
- client code.
- @since 7.1
Declaration
Objective-C
typedef struct PROJ_UNIT_INFO PROJ_UNIT_INFO
-
\brief Structure given description of a celestial body. *
- This structure may grow over time, and should not be directly allocated by
- client code.
- @since 8.1
Declaration
Objective-C
typedef struct PROJ_CELESTIAL_BODY_INFO PROJ_CELESTIAL_BODY_INFO
-
Undocumented
Declaration
Objective-C
typedef struct PJ_OBJ_LIST PJ_OBJ_LIST
-
Undocumented
Declaration
Objective-C
typedef struct PJ_INSERT_SESSION PJ_INSERT_SESSION
-
Undocumented
Declaration
Objective-C
typedef struct PJ_OPERATION_FACTORY_CONTEXT PJ_OPERATION_FACTORY_CONTEXT
-
\brief Axis description.
See moreDeclaration
Objective-C
typedef struct PJ_AXIS_DESCRIPTION PJ_AXIS_DESCRIPTION
-
\brief Description of a parameter value for a Conversion.
See moreDeclaration
Objective-C
typedef struct PJ_PARAM_DESCRIPTION PJ_PARAM_DESCRIPTION