7#ifndef FXJS_XFA_CFXJSE_MAPMODULE_H_
8#define FXJS_XFA_CFXJSE_MAPMODULE_H_
14#include "core/fxcrt/widestring.h"
15#include "third_party/abseil-cpp/absl/types/optional.h"
27 void SetValue(uint32_t key, int32_t value);
28 void SetString(uint32_t key,
const WideString& wsString);
33 bool HasKey(uint32_t key)
const;
39 std::map<uint32_t, int32_t> m_ValueMap;
40 std::map<uint32_t, WideString> m_StringMap;
41 std::map<uint32_t, CXFA_Measurement> m_MeasurementMap;
absl::optional< int32_t > GetValue(uint32_t key) const
absl::optional< WideString > GetString(uint32_t key) const
absl::optional< CXFA_Measurement > GetMeasurement(uint32_t key) const
void MergeDataFrom(const CFXJSE_MapModule *pSrc)
void SetValue(uint32_t key, int32_t value)
void SetMeasurement(uint32_t key, const CXFA_Measurement &measurement)
CFXJSE_MapModule & operator=(const CFXJSE_MapModule &that)=delete
void SetString(uint32_t key, const WideString &wsString)
void RemoveKey(uint32_t key)
CFXJSE_MapModule(const CFXJSE_MapModule &that)=delete
bool HasKey(uint32_t key) const