ifw-odp 5.0.0
Loading...
Searching...
No Matches
Macros
Compatibility Macros for CPL older than 4.0

Macros for automatic replacement of CPL 4.x functions in compilation with older CPL. More...

Macros

#define cpl_array_get_data_int_const(array)    cpl_array_get_data_int(array)
 Replaces cpl_array_get_data_int_const() by CPL 3.x function call.
 
#define cpl_array_get_data_float_const(array)    cpl_array_get_data_float(array)
 Replaces cpl_array_get_data_float_const() by CPL 3.x function call.
 
#define cpl_array_get_data_double_const(array)    cpl_array_get_data_double(array)
 Replaces cpl_array_get_data_double_const() by CPL 3.x function call.
 
#define cpl_array_get_data_string_const(array)    (const char**)cpl_array_get_data_string(array) /* whyever necessary */
 Replaces cpl_array_get_data_string_const() by CPL 3.x function call.
 
#define cpl_bivector_get_x_const(bivector)    cpl_bivector_get_x(bivector)
 Replaces cpl_bivector_get_x_const() by CPL 3.x function call.
 
#define cpl_bivector_get_y_const(bivector)    cpl_bivector_get_y(bivector)
 Replaces cpl_bivector_get_y_const() by CPL 3.x function call.
 
#define cpl_bivector_get_x_data_const(bivector)    cpl_bivector_get_x_data(bivector)
 Replaces cpl_bivector_get_x_data_const() by CPL 3.x function call.
 
#define cpl_bivector_get_y_data_const(bivector)    cpl_bivector_get_y_data(bivector)
 Replaces cpl_bivector_get_y_data_const() by CPL 3.x function call.
 
#define cpl_frameset_find_const(frameset)    cpl_frameset_find(frameset)
 Replaces cpl_frameset_find_const() by CPL 3.x function call.
 
#define cpl_frameset_get_first_const(frameset)    cpl_frameset_get_first(frameset)
 Replaces cpl_frameset_get_first_const() by CPL 3.x function call.
 
#define cpl_frameset_get_next_const(frameset)    cpl_frameset_get_next(frameset)
 Replaces cpl_frameset_get_next_const() by CPL 3.x function call.
 
#define cpl_frameset_get_frame_const(frameset)    cpl_frameset_get_frame(frameset)
 Replaces cpl_frameset_get_frame_const() by CPL 3.x function call.
 
#define cpl_image_get_bpm_const(image)    cpl_image_get_bpm(image)
 Replaces cpl_image_get_bpm_const() by CPL 3.x function call.
 
#define cpl_image_get_data_const(image)    cpl_image_get_data(image)
 Replaces cpl_image_get_data_const() by CPL 3.x function call.
 
#define cpl_image_get_data_double_const(image)    cpl_image_get_data_double(image)
 Replaces cpl_image_get_data_double_const() by CPL 3.x function call.
 
#define cpl_image_get_data_float_const(image)    cpl_image_get_data_float(image)
 Replaces cpl_image_get_data_float_const() by CPL 3.x function call.
 
#define cpl_image_get_data_int_const(image)    cpl_image_get_data_int(image)
 Replaces cpl_image_get_data_int_const() by CPL 3.x function call.
 
#define cpl_imagelist_get_const(imagelist)    cpl_imagelist_get(imagelist)
 Replaces cpl_imagelist_get_const() by CPL 3.x function call.
 
#define cpl_mask_get_data_const(mask)    cpl_mask_get_data(mask)
 Replaces cpl_mask_get_data_const() by CPL 3.x function call.
 
#define cpl_matrix_get_data_const(matrix)    cpl_matrix_get_data(matrix)
 Replaces cpl_matrix_get_data_const() by CPL 3.x function call.
 
#define cpl_parameterlist_find_const(parameterlist, name)    cpl_parameterlist_find(parameterlist, name)
 Replaces cpl_parameterlist_find_const() by CPL 3.x function call.
 
#define cpl_parameterlist_find_context_const(parameterlist, context)    cpl_parameterlist_find_context(parameterlist, context)
 Replaces cpl_parameterlist_find_context_const() by CPL 3.x function call.
 
#define cpl_parameterlist_find_tag_const(parameterlist, tag)    cpl_parameterlist_find_tag(parameterlist, tag)
 Replaces cpl_parameterlist_find_tag_const() by CPL 3.x function call.
 
#define cpl_parameterlist_find_type_const(parameterlist, type)    cpl_parameterlist_find_type(parameterlist, type)
 Replaces cpl_parameterlist_find_type_const() by CPL 3.x function call.
 
#define cpl_parameterlist_get_first_const(parameterlist)    cpl_parameterlist_get_first(parameterlist)
 Replaces cpl_parameterlist_get_first_const() by CPL 3.x function call.
 
#define cpl_parameterlist_get_next_const(parameterlist)    cpl_parameterlist_get_next(parameterlist)
 Replaces cpl_parameterlist_get_next_const() by CPL 3.x function call.
 
#define cpl_parameterlist_get_last_const(parameterlist)    cpl_parameterlist_get_last(parameterlist)
 Replaces cpl_parameterlist_get_last_const() by CPL 3.x function call.
 
#define cpl_propertylist_get_const(propertylist)    cpl_propertylist_get(propertylist)
 Replaces cpl_propertylist_get_const() by CPL 3.x function call.
 
#define cpl_propertylist_get_property_const(propertylist)    cpl_propertylist_get_property(propertylist)
 Replaces cpl_propertylist_get_property_const() by CPL 3.x function call.
 
#define cpl_propertylist_get_first_const(propertylist)    cpl_propertylist_get_first(propertylist)
 Replaces cpl_propertylist_get_first_const() by CPL 3.x function call.
 
#define cpl_propertylist_get_next_const(propertylist)    cpl_propertylist_get_next(propertylist)
 Replaces cpl_propertylist_get_next_const() by CPL 3.x function call.
 
#define cpl_table_get_data_int_const(table)    cpl_table_get_data_int(table)
 Replaces cpl_table_get_data_int_const() by CPL 3.x function call.
 
#define cpl_table_get_data_float_const(table)    cpl_table_get_data_float(table)
 Replaces cpl_table_get_data_float_const() by CPL 3.x function call.
 
#define cpl_table_get_data_double_const(table)    cpl_table_get_data_double(table)
 Replaces cpl_table_get_data_double_const() by CPL 3.x function call.
 
#define cpl_table_get_data_string_const(table)    cpl_table_get_data_string(table)
 Replaces cpl_table_get_data_string_const() by CPL 3.x function call.
 
#define cpl_table_get_data_array_const(table)    cpl_table_get_data_array(table)
 Replaces cpl_table_get_data_array_const() by CPL 3.x function call.
 
#define cpl_vector_get_data_const(vector)    cpl_vector_get_data(vector)
 Replaces cpl_vector_get_data_const() by CPL 3.x function call.
 
#define cpl_vector_get_median_const(vector)    cpl_vector_get_median(vector)
 Replaces cpl_vector_get_median_const() by CPL 3.x function call.
 
#define cpl_init(par)    cpl_init()
 Replaces cpl_vector_get_median_const() by CPL 3.x (parameter-free) function call.
 
#define CPL_MATH_E   2.7182818284590452353602874713526624977572470936999595
 
#define CPL_MATH_PI   3.1415926535897932384626433832795028841971693993751058
 
#define CPL_MATH_LN2   0.6931471805599453094172321214581765680755001343602553
 
#define CPL_MATH_LN10   2.3025850929940456840179914546843642076011014886287730
 
#define CPL_MATH_2PI   6.2831853071795864769252867665590057683943387987502116
 
#define CPL_MATH_PI_2   1.5707963267948966192313216916397514420985846996875529
 
#define CPL_MATH_PI_4   0.7853981633974483096156608458198757210492923498437765
 
#define CPL_MATH_1_PI   0.3183098861837906715377675267450287240689192914809129
 
#define CPL_MATH_2_PI   0.6366197723675813430755350534900574481378385829618258
 
#define CPL_MATH_4_PI   1.2732395447351626861510701069801148962756771659236516
 
#define CPL_MATH_SQRT2PI   2.5066282746310005024157652848110452530069867406099383
 
#define CPL_MATH_2_SQRTPI   1.1283791670955125738961589031215451716881012586579977
 
#define CPL_MATH_SQRT2   1.4142135623730950488016887242096980785696718753769481
 
#define CPL_MATH_SQRT3   1.7320508075688772935274463415058723669428052538103806
 
#define CPL_MATH_SQRT1_2   0.7071067811865475244008443621048490392848359376884740
 
#define CPL_MATH_LOG2E   1.4426950408889634073599246810018921374266459541529859
 
#define CPL_MATH_LOG10E   0.4342944819032518276511289189166050822943970058036666
 
#define CPL_MATH_DEG_RAD   57.295779513082320876798154814105170332405472466564322
 
#define CPL_MATH_RAD_DEG   0.0174532925199432957692369076848861271344287188854173
 
#define CPL_MATH_FWHM_SIG   2.3548200450309493820231386529193992754947713787716411
 
#define CPL_MATH_SIG_FWHM   0.4246609001440095213607514170514448098575705468921770
 

Detailed Description

Macros for automatic replacement of CPL 4.x functions in compilation with older CPL.

Synopsis:

Macro Definition Documentation

◆ cpl_array_get_data_double_const

#define cpl_array_get_data_double_const ( array)     cpl_array_get_data_double(array)

Replaces cpl_array_get_data_double_const() by CPL 3.x function call.

◆ cpl_array_get_data_float_const

#define cpl_array_get_data_float_const ( array)     cpl_array_get_data_float(array)

Replaces cpl_array_get_data_float_const() by CPL 3.x function call.

◆ cpl_array_get_data_int_const

#define cpl_array_get_data_int_const ( array)     cpl_array_get_data_int(array)

Replaces cpl_array_get_data_int_const() by CPL 3.x function call.

◆ cpl_array_get_data_string_const

#define cpl_array_get_data_string_const ( array)     (const char**)cpl_array_get_data_string(array) /* whyever necessary */

Replaces cpl_array_get_data_string_const() by CPL 3.x function call.

◆ cpl_bivector_get_x_const

#define cpl_bivector_get_x_const ( bivector)     cpl_bivector_get_x(bivector)

Replaces cpl_bivector_get_x_const() by CPL 3.x function call.

◆ cpl_bivector_get_x_data_const

#define cpl_bivector_get_x_data_const ( bivector)     cpl_bivector_get_x_data(bivector)

Replaces cpl_bivector_get_x_data_const() by CPL 3.x function call.

◆ cpl_bivector_get_y_const

#define cpl_bivector_get_y_const ( bivector)     cpl_bivector_get_y(bivector)

Replaces cpl_bivector_get_y_const() by CPL 3.x function call.

◆ cpl_bivector_get_y_data_const

#define cpl_bivector_get_y_data_const ( bivector)     cpl_bivector_get_y_data(bivector)

Replaces cpl_bivector_get_y_data_const() by CPL 3.x function call.

◆ cpl_frameset_find_const

#define cpl_frameset_find_const ( frameset)     cpl_frameset_find(frameset)

Replaces cpl_frameset_find_const() by CPL 3.x function call.

◆ cpl_frameset_get_first_const

#define cpl_frameset_get_first_const ( frameset)     cpl_frameset_get_first(frameset)

Replaces cpl_frameset_get_first_const() by CPL 3.x function call.

◆ cpl_frameset_get_frame_const

#define cpl_frameset_get_frame_const ( frameset)     cpl_frameset_get_frame(frameset)

Replaces cpl_frameset_get_frame_const() by CPL 3.x function call.

◆ cpl_frameset_get_next_const

#define cpl_frameset_get_next_const ( frameset)     cpl_frameset_get_next(frameset)

Replaces cpl_frameset_get_next_const() by CPL 3.x function call.

◆ cpl_image_get_bpm_const

#define cpl_image_get_bpm_const ( image)     cpl_image_get_bpm(image)

Replaces cpl_image_get_bpm_const() by CPL 3.x function call.

◆ cpl_image_get_data_const

#define cpl_image_get_data_const ( image)     cpl_image_get_data(image)

Replaces cpl_image_get_data_const() by CPL 3.x function call.

◆ cpl_image_get_data_double_const

#define cpl_image_get_data_double_const ( image)     cpl_image_get_data_double(image)

Replaces cpl_image_get_data_double_const() by CPL 3.x function call.

◆ cpl_image_get_data_float_const

#define cpl_image_get_data_float_const ( image)     cpl_image_get_data_float(image)

Replaces cpl_image_get_data_float_const() by CPL 3.x function call.

◆ cpl_image_get_data_int_const

#define cpl_image_get_data_int_const ( image)     cpl_image_get_data_int(image)

Replaces cpl_image_get_data_int_const() by CPL 3.x function call.

◆ cpl_imagelist_get_const

#define cpl_imagelist_get_const ( imagelist)     cpl_imagelist_get(imagelist)

Replaces cpl_imagelist_get_const() by CPL 3.x function call.

◆ cpl_init

#define cpl_init ( par)     cpl_init()

Replaces cpl_vector_get_median_const() by CPL 3.x (parameter-free) function call.

◆ cpl_mask_get_data_const

#define cpl_mask_get_data_const ( mask)     cpl_mask_get_data(mask)

Replaces cpl_mask_get_data_const() by CPL 3.x function call.

◆ CPL_MATH_1_PI

#define CPL_MATH_1_PI   0.3183098861837906715377675267450287240689192914809129

◆ CPL_MATH_2_PI

#define CPL_MATH_2_PI   0.6366197723675813430755350534900574481378385829618258

◆ CPL_MATH_2_SQRTPI

#define CPL_MATH_2_SQRTPI   1.1283791670955125738961589031215451716881012586579977

◆ CPL_MATH_2PI

#define CPL_MATH_2PI   6.2831853071795864769252867665590057683943387987502116

◆ CPL_MATH_4_PI

#define CPL_MATH_4_PI   1.2732395447351626861510701069801148962756771659236516

◆ CPL_MATH_DEG_RAD

#define CPL_MATH_DEG_RAD   57.295779513082320876798154814105170332405472466564322

◆ CPL_MATH_E

#define CPL_MATH_E   2.7182818284590452353602874713526624977572470936999595

◆ CPL_MATH_FWHM_SIG

#define CPL_MATH_FWHM_SIG   2.3548200450309493820231386529193992754947713787716411

◆ CPL_MATH_LN10

#define CPL_MATH_LN10   2.3025850929940456840179914546843642076011014886287730

◆ CPL_MATH_LN2

#define CPL_MATH_LN2   0.6931471805599453094172321214581765680755001343602553

◆ CPL_MATH_LOG10E

#define CPL_MATH_LOG10E   0.4342944819032518276511289189166050822943970058036666

◆ CPL_MATH_LOG2E

#define CPL_MATH_LOG2E   1.4426950408889634073599246810018921374266459541529859

◆ CPL_MATH_PI

#define CPL_MATH_PI   3.1415926535897932384626433832795028841971693993751058

◆ CPL_MATH_PI_2

#define CPL_MATH_PI_2   1.5707963267948966192313216916397514420985846996875529

◆ CPL_MATH_PI_4

#define CPL_MATH_PI_4   0.7853981633974483096156608458198757210492923498437765

◆ CPL_MATH_RAD_DEG

#define CPL_MATH_RAD_DEG   0.0174532925199432957692369076848861271344287188854173

◆ CPL_MATH_SIG_FWHM

#define CPL_MATH_SIG_FWHM   0.4246609001440095213607514170514448098575705468921770

◆ CPL_MATH_SQRT1_2

#define CPL_MATH_SQRT1_2   0.7071067811865475244008443621048490392848359376884740

◆ CPL_MATH_SQRT2

#define CPL_MATH_SQRT2   1.4142135623730950488016887242096980785696718753769481

◆ CPL_MATH_SQRT2PI

#define CPL_MATH_SQRT2PI   2.5066282746310005024157652848110452530069867406099383

◆ CPL_MATH_SQRT3

#define CPL_MATH_SQRT3   1.7320508075688772935274463415058723669428052538103806

◆ cpl_matrix_get_data_const

#define cpl_matrix_get_data_const ( matrix)     cpl_matrix_get_data(matrix)

Replaces cpl_matrix_get_data_const() by CPL 3.x function call.

◆ cpl_parameterlist_find_const

#define cpl_parameterlist_find_const ( parameterlist,
name )    cpl_parameterlist_find(parameterlist, name)

Replaces cpl_parameterlist_find_const() by CPL 3.x function call.

◆ cpl_parameterlist_find_context_const

#define cpl_parameterlist_find_context_const ( parameterlist,
context )    cpl_parameterlist_find_context(parameterlist, context)

Replaces cpl_parameterlist_find_context_const() by CPL 3.x function call.

◆ cpl_parameterlist_find_tag_const

#define cpl_parameterlist_find_tag_const ( parameterlist,
tag )    cpl_parameterlist_find_tag(parameterlist, tag)

Replaces cpl_parameterlist_find_tag_const() by CPL 3.x function call.

◆ cpl_parameterlist_find_type_const

#define cpl_parameterlist_find_type_const ( parameterlist,
type )    cpl_parameterlist_find_type(parameterlist, type)

Replaces cpl_parameterlist_find_type_const() by CPL 3.x function call.

◆ cpl_parameterlist_get_first_const

#define cpl_parameterlist_get_first_const ( parameterlist)     cpl_parameterlist_get_first(parameterlist)

Replaces cpl_parameterlist_get_first_const() by CPL 3.x function call.

◆ cpl_parameterlist_get_last_const

#define cpl_parameterlist_get_last_const ( parameterlist)     cpl_parameterlist_get_last(parameterlist)

Replaces cpl_parameterlist_get_last_const() by CPL 3.x function call.

◆ cpl_parameterlist_get_next_const

#define cpl_parameterlist_get_next_const ( parameterlist)     cpl_parameterlist_get_next(parameterlist)

Replaces cpl_parameterlist_get_next_const() by CPL 3.x function call.

◆ cpl_propertylist_get_const

#define cpl_propertylist_get_const ( propertylist)     cpl_propertylist_get(propertylist)

Replaces cpl_propertylist_get_const() by CPL 3.x function call.

◆ cpl_propertylist_get_first_const

#define cpl_propertylist_get_first_const ( propertylist)     cpl_propertylist_get_first(propertylist)

Replaces cpl_propertylist_get_first_const() by CPL 3.x function call.

◆ cpl_propertylist_get_next_const

#define cpl_propertylist_get_next_const ( propertylist)     cpl_propertylist_get_next(propertylist)

Replaces cpl_propertylist_get_next_const() by CPL 3.x function call.

◆ cpl_propertylist_get_property_const

#define cpl_propertylist_get_property_const ( propertylist)     cpl_propertylist_get_property(propertylist)

Replaces cpl_propertylist_get_property_const() by CPL 3.x function call.

◆ cpl_table_get_data_array_const

#define cpl_table_get_data_array_const ( table)     cpl_table_get_data_array(table)

Replaces cpl_table_get_data_array_const() by CPL 3.x function call.

◆ cpl_table_get_data_double_const

#define cpl_table_get_data_double_const ( table)     cpl_table_get_data_double(table)

Replaces cpl_table_get_data_double_const() by CPL 3.x function call.

◆ cpl_table_get_data_float_const

#define cpl_table_get_data_float_const ( table)     cpl_table_get_data_float(table)

Replaces cpl_table_get_data_float_const() by CPL 3.x function call.

◆ cpl_table_get_data_int_const

#define cpl_table_get_data_int_const ( table)     cpl_table_get_data_int(table)

Replaces cpl_table_get_data_int_const() by CPL 3.x function call.

◆ cpl_table_get_data_string_const

#define cpl_table_get_data_string_const ( table)     cpl_table_get_data_string(table)

Replaces cpl_table_get_data_string_const() by CPL 3.x function call.

◆ cpl_vector_get_data_const

#define cpl_vector_get_data_const ( vector)     cpl_vector_get_data(vector)

Replaces cpl_vector_get_data_const() by CPL 3.x function call.

◆ cpl_vector_get_median_const

#define cpl_vector_get_median_const ( vector)     cpl_vector_get_median(vector)

Replaces cpl_vector_get_median_const() by CPL 3.x function call.