simdjson  3.11.0
Ridiculously Fast JSON
base.h
1 #ifndef SIMDJSON_GENERIC_BASE_H
2 
3 #ifndef SIMDJSON_CONDITIONAL_INCLUDE
4 #define SIMDJSON_GENERIC_BASE_H
5 #include "simdjson/base.h"
6 // If we haven't got an implementation yet, we're in the editor, editing a generic file! Just
7 // use the most advanced one we can so the most possible stuff can be tested.
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"
26 #else
27 #error "All possible implementations (including fallback) have been disabled! simdjson will not run."
28 #endif
29 #endif // SIMDJSON_IMPLEMENTATION
30 #endif // SIMDJSON_CONDITIONAL_INCLUDE
31 
32 namespace simdjson {
33 namespace SIMDJSON_IMPLEMENTATION {
34 
35 struct open_container;
36 class dom_parser_implementation;
37 
41 enum class number_type {
42  floating_point_number=1,
43  signed_integer,
44  unsigned_integer,
45  big_integer
46 };
47 
48 } // namespace SIMDJSON_IMPLEMENTATION
49 } // namespace simdjson
50 
51 #endif // SIMDJSON_GENERIC_BASE_H
The top level simdjson namespace, containing everything the library provides.
Definition: base.h:8