OpenCPN Partial API docs
Loading...
Searching...
No Matches
json_defs.h File Reference

JSON Configuration System Definitions. More...

Go to the source code of this file.

Macros

#define wxJSON_MAJOR   1
#define wxJSON_MINOR   2
#define wxJSON_RELEASE   1
#define wxCHECK_JSON_VERSION(major, minor, release)
#define WXDLLIMPEXP_JSON
#define WXDLLIMPEXP_DATA_JSON(type)
#define WXDLLIMPEXP_JSON
#define WXDLLIMPEXP_DATA_JSON(type)
#define __PRETTY_FUNCTION__   __WXFUNCTION__
#define LLONG_MAX   9223372036854775807
#define ULLONG_MAX   18446744073709551615
#define LLONG_MIN   -9223372036854775808
#define INT_MIN   -32768
#define INT_MAX   32767
#define UINT_MAX   65535
#define LONG_MIN   -2147483648
#define LONG_MAX   2147483647
#define ULONG_MAX   4294967295
#define SHORT_MAX   32767
#define SHORT_MIN   -32768
#define USHORT_MAX   65535
#define wxJSON_ASSERT(cond)
#define wxJSONWRITER_LAST_COL   50
#define wxJSONWRITER_SPLIT_COL   75
#define wxJSONWRITER_MIN_LENGTH   15
#define wxJSONWRITER_TAB_LENGTH   4
#define MIN(a, b)
#define MAX(a, b)

Detailed Description

JSON Configuration System Definitions.

Provides core definitions and configuration options for JSON handling in the GRIB plugin, including:

  • Version control macros
  • Platform-specific adaptations
  • Unicode support configuration
  • Integer type handling
  • Debug assertions
  • String processing options

Features:

  • Shared build configuration
  • Version checking capabilities
  • Cross-platform compatibility
  • Data type definitions
  • Error handling macros
  • Memory management options

These definitions ensure consistent JSON handling across different platforms and build configurations while providing flexibility for different use cases.

Definition in file json_defs.h.

Macro Definition Documentation

◆ __PRETTY_FUNCTION__

#define __PRETTY_FUNCTION__   __WXFUNCTION__

Definition at line 96 of file json_defs.h.

◆ INT_MAX

#define INT_MAX   32767

Definition at line 163 of file json_defs.h.

◆ INT_MIN

#define INT_MIN   -32768

Definition at line 160 of file json_defs.h.

◆ LLONG_MAX

#define LLONG_MAX   9223372036854775807

Definition at line 147 of file json_defs.h.

◆ LLONG_MIN

#define LLONG_MIN   -9223372036854775808

Definition at line 155 of file json_defs.h.

◆ LONG_MAX

#define LONG_MAX   2147483647

Definition at line 172 of file json_defs.h.

◆ LONG_MIN

#define LONG_MIN   -2147483648

Definition at line 169 of file json_defs.h.

◆ MAX

#define MAX ( a,
b )
Value:
a > b ? a : b

Definition at line 230 of file json_defs.h.

◆ MIN

#define MIN ( a,
b )
Value:
a < b ? a : b

Definition at line 227 of file json_defs.h.

◆ SHORT_MAX

#define SHORT_MAX   32767

Definition at line 178 of file json_defs.h.

◆ SHORT_MIN

#define SHORT_MIN   -32768

Definition at line 181 of file json_defs.h.

◆ UINT_MAX

#define UINT_MAX   65535

Definition at line 166 of file json_defs.h.

◆ ULLONG_MAX

#define ULLONG_MAX   18446744073709551615

Definition at line 151 of file json_defs.h.

◆ ULONG_MAX

#define ULONG_MAX   4294967295

Definition at line 175 of file json_defs.h.

◆ USHORT_MAX

#define USHORT_MAX   65535

Definition at line 184 of file json_defs.h.

◆ wxCHECK_JSON_VERSION

#define wxCHECK_JSON_VERSION ( major,
minor,
release )
Value:
(wxJSON_MAJOR > (major) || \
(wxJSON_MAJOR == (major) && wxJSON_MINOR > (minor)) || \
(wxJSON_MAJOR == (major) && wxJSON_MINOR == (minor) && \
wxJSON_RELEASE >= (release)))

Definition at line 52 of file json_defs.h.

◆ WXDLLIMPEXP_DATA_JSON [1/2]

#define WXDLLIMPEXP_DATA_JSON ( type)
Value:
type

Definition at line 80 of file json_defs.h.

◆ WXDLLIMPEXP_DATA_JSON [2/2]

#define WXDLLIMPEXP_DATA_JSON ( type)
Value:
type

Definition at line 80 of file json_defs.h.

◆ WXDLLIMPEXP_JSON [1/2]

#define WXDLLIMPEXP_JSON

Definition at line 79 of file json_defs.h.

◆ WXDLLIMPEXP_JSON [2/2]

#define WXDLLIMPEXP_JSON

Definition at line 79 of file json_defs.h.

◆ wxJSON_ASSERT

#define wxJSON_ASSERT ( cond)
Value:
wxASSERT(cond);

Definition at line 194 of file json_defs.h.

◆ wxJSON_MAJOR

#define wxJSON_MAJOR   1

Definition at line 45 of file json_defs.h.

◆ wxJSON_MINOR

#define wxJSON_MINOR   2

Definition at line 46 of file json_defs.h.

◆ wxJSON_RELEASE

#define wxJSON_RELEASE   1

Definition at line 47 of file json_defs.h.

◆ wxJSONWRITER_LAST_COL

#define wxJSONWRITER_LAST_COL   50

Definition at line 200 of file json_defs.h.

◆ wxJSONWRITER_MIN_LENGTH

#define wxJSONWRITER_MIN_LENGTH   15

Definition at line 202 of file json_defs.h.

◆ wxJSONWRITER_SPLIT_COL

#define wxJSONWRITER_SPLIT_COL   75

Definition at line 201 of file json_defs.h.

◆ wxJSONWRITER_TAB_LENGTH

#define wxJSONWRITER_TAB_LENGTH   4

Definition at line 203 of file json_defs.h.