1 #ifndef SIMDJSON_GENERIC_BASE_H
3 #ifndef SIMDJSON_CONDITIONAL_INCLUDE
4 #define SIMDJSON_GENERIC_BASE_H
5 #include "simdjson/base.h"
8 #ifndef SIMDJSON_IMPLEMENTATION
9 #include "simdjson/implementation_detection.h"
10 #if SIMDJSON_IMPLEMENTATION_ICELAKE
11 #include "simdjson/icelake/begin.h"
12 #elif SIMDJSON_IMPLEMENTATION_HASWELL
13 #include "simdjson/haswell/begin.h"
14 #elif SIMDJSON_IMPLEMENTATION_WESTMERE
15 #include "simdjson/westmere/begin.h"
16 #elif SIMDJSON_IMPLEMENTATION_ARM64
17 #include "simdjson/arm64/begin.h"
18 #elif SIMDJSON_IMPLEMENTATION_PPC64
19 #include "simdjson/ppc64/begin.h"
20 #elif SIMDJSON_IMPLEMENTATION_LSX
21 #include "simdjson/lsx/begin.h"
22 #elif SIMDJSON_IMPLEMENTATION_LASX
23 #include "simdjson/lasx/begin.h"
24 #elif SIMDJSON_IMPLEMENTATION_FALLBACK
25 #include "simdjson/fallback/begin.h"
27 #error "All possible implementations (including fallback) have been disabled! simdjson will not run."
33 namespace SIMDJSON_IMPLEMENTATION {
35 struct open_container;
36 class dom_parser_implementation;
41 enum class number_type {
42 floating_point_number=1,
The top level simdjson namespace, containing everything the library provides.