Home
last modified time | relevance | path

Searched refs:JsonTypeCheckFunc (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_audio/common/src/
H A Ddaudio_util.cpp41 using JsonTypeCheckFunc = bool (*)(const cJSON *jsonObj, const std::string &key); typedef
49 std::map<std::string, JsonTypeCheckFunc> typeCheckMap = {
50 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_TYPE, &DistributedHardware::IsInt32),
52 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_DH_ID, &DistributedHardware::IsString),
53 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_REQID, &DistributedHardware::IsString),
54 … std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_VERSION, &DistributedHardware::IsString),
56 … std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_DEV_ID, &DistributedHardware::IsString),
57 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_RESULT, &DistributedHardware::IsInt32),
60 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_ATTRS, &DistributedHardware::IsString),
64 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_FORMAT, &DistributedHardware::IsInt32),
[all …]