cesium-native  0.41.0
DoubleJsonHandler.h
1 #pragma once
2 
3 #include "JsonHandler.h"
4 #include "Library.h"
5 
6 namespace CesiumJsonReader {
7 class CESIUMJSONREADER_API DoubleJsonHandler : public JsonHandler {
8 public:
9  DoubleJsonHandler() noexcept;
10  void reset(IJsonHandler* pParent, double* pDouble);
11 
12  virtual IJsonHandler* readInt32(int32_t i) override;
13  virtual IJsonHandler* readUint32(uint32_t i) override;
14  virtual IJsonHandler* readInt64(int64_t i) override;
15  virtual IJsonHandler* readUint64(uint64_t i) override;
16  virtual IJsonHandler* readDouble(double d) override;
17 
18 private:
19  double* _pDouble = nullptr;
20 };
21 } // namespace CesiumJsonReader
Classes for reading JSON.