simdjson 4.4.0
Ridiculously Fast JSON
Loading...
Searching...
No Matches
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_LASX
21#include "simdjson/lasx/begin.h"
22#elif SIMDJSON_IMPLEMENTATION_LSX
23#include "simdjson/lsx/begin.h"
24#elif SIMDJSON_IMPLEMENTATION_RVV_VLS
25#include "simdjson/rvv-vls/begin.h"
26#elif SIMDJSON_IMPLEMENTATION_FALLBACK
27#include "simdjson/fallback/begin.h"
28#else
29#error "All possible implementations (including fallback) have been disabled! simdjson will not run."
30#endif
31#endif // SIMDJSON_IMPLEMENTATION
32#endif // SIMDJSON_CONDITIONAL_INCLUDE
33
34namespace simdjson {
35namespace SIMDJSON_IMPLEMENTATION {
36
37struct open_container;
38class dom_parser_implementation;
39
43enum class number_type {
44 floating_point_number=1,
45 signed_integer,
46 unsigned_integer,
47 big_integer
48};
49
50} // namespace SIMDJSON_IMPLEMENTATION
51} // namespace simdjson
52
53#endif // SIMDJSON_GENERIC_BASE_H
The top level simdjson namespace, containing everything the library provides.
Definition base.h:8