| /* |
| * |
| * Copyright (c) 2022 Project CHIP Authors |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| // THIS FILE IS GENERATED BY ZAP |
| // This file is generated from clusters-Enums.h.zapt |
| |
| #pragma once |
| |
| #include <clusters/shared/Enums.h> |
| #include <cstdint> |
| |
| namespace chip { |
| namespace app { |
| namespace Clusters { |
| namespace UnitTesting { |
| |
| // Enum for SimpleEnum |
| enum class SimpleEnum : uint8_t |
| { |
| kUnspecified = 0x00, |
| kValueA = 0x01, |
| kValueB = 0x02, |
| kValueC = 0x03, |
| // All received enum values that are not listed above will be mapped |
| // to kUnknownEnumValue. This is a helper enum value that should only |
| // be used by code to process how it handles receiving and unknown |
| // enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| }; |
| |
| // Bitmap for Bitmap16MaskMap |
| enum class Bitmap16MaskMap : uint16_t |
| { |
| kMaskVal1 = 0x1, |
| kMaskVal2 = 0x2, |
| kMaskVal3 = 0x4, |
| kMaskVal4 = 0x4000, |
| }; |
| |
| // Bitmap for Bitmap32MaskMap |
| enum class Bitmap32MaskMap : uint32_t |
| { |
| kMaskVal1 = 0x1, |
| kMaskVal2 = 0x2, |
| kMaskVal3 = 0x4, |
| kMaskVal4 = 0x40000000, |
| }; |
| |
| // Bitmap for Bitmap64MaskMap |
| enum class Bitmap64MaskMap : uint64_t |
| { |
| kMaskVal1 = 0x1, |
| kMaskVal2 = 0x2, |
| kMaskVal3 = 0x4, |
| kMaskVal4 = 0x4000000000000000, |
| }; |
| |
| // Bitmap for Bitmap8MaskMap |
| enum class Bitmap8MaskMap : uint8_t |
| { |
| kMaskVal1 = 0x1, |
| kMaskVal2 = 0x2, |
| kMaskVal3 = 0x4, |
| kMaskVal4 = 0x40, |
| }; |
| |
| // Bitmap for SimpleBitmap |
| enum class SimpleBitmap : uint8_t |
| { |
| kValueA = 0x1, |
| kValueB = 0x2, |
| kValueC = 0x4, |
| }; |
| } // namespace UnitTesting |
| } // namespace Clusters |
| } // namespace app |
| } // namespace chip |