simdjson  3.7.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_FALLBACK
21 #include "simdjson/fallback/begin.h"
22 #else
23 #error "All possible implementations (including fallback) have been disabled! simdjson will not run."
24 #endif
25 #endif // SIMDJSON_IMPLEMENTATION
26 #endif // SIMDJSON_CONDITIONAL_INCLUDE
27 
28 namespace simdjson {
29 namespace SIMDJSON_IMPLEMENTATION {
30 
31 struct open_container;
32 class dom_parser_implementation;
33 
37 enum class number_type {
38  floating_point_number=1,
39  signed_integer,
40  unsigned_integer,
41  big_integer
42 };
43 
44 } // namespace SIMDJSON_IMPLEMENTATION
45 } // namespace simdjson
46 
47 #endif // SIMDJSON_GENERIC_BASE_H
The top level simdjson namespace, containing everything the library provides.
Definition: base.h:8