/src/connectedhomeip/zzz_generated/app-common/clusters/RvcRunMode/Attributes.ipp
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * |
3 | | * Copyright (c) 2022 Project CHIP Authors |
4 | | * |
5 | | * Licensed under the Apache License, Version 2.0 (the "License"); |
6 | | * you may not use this file except in compliance with the License. |
7 | | * You may obtain a copy of the License at |
8 | | * |
9 | | * http://www.apache.org/licenses/LICENSE-2.0 |
10 | | * |
11 | | * Unless required by applicable law or agreed to in writing, software |
12 | | * distributed under the License is distributed on an "AS IS" BASIS, |
13 | | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 | | * See the License for the specific language governing permissions and |
15 | | * limitations under the License. |
16 | | */ |
17 | | |
18 | | // THIS FILE IS GENERATED BY ZAP |
19 | | // This file is generated from clusters-Attributes.ipp.zapt |
20 | | |
21 | | #include <clusters/RvcRunMode/Attributes.h> |
22 | | |
23 | | #include <app/data-model/Decode.h> |
24 | | #include <app/data-model/WrappedStructEncoder.h> |
25 | | |
26 | | namespace chip { |
27 | | namespace app { |
28 | | namespace Clusters { |
29 | | namespace RvcRunMode { |
30 | | namespace Attributes { |
31 | | CHIP_ERROR TypeInfo::DecodableType::Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path) |
32 | 0 | { |
33 | 0 | switch (path.mAttributeId) |
34 | 0 | { |
35 | 0 | case Attributes::SupportedModes::TypeInfo::GetAttributeId(): |
36 | 0 | return DataModel::Decode(reader, supportedModes); |
37 | 0 | case Attributes::CurrentMode::TypeInfo::GetAttributeId(): |
38 | 0 | return DataModel::Decode(reader, currentMode); |
39 | 0 | case Attributes::GeneratedCommandList::TypeInfo::GetAttributeId(): |
40 | 0 | return DataModel::Decode(reader, generatedCommandList); |
41 | 0 | case Attributes::AcceptedCommandList::TypeInfo::GetAttributeId(): |
42 | 0 | return DataModel::Decode(reader, acceptedCommandList); |
43 | 0 | case Attributes::AttributeList::TypeInfo::GetAttributeId(): |
44 | 0 | return DataModel::Decode(reader, attributeList); |
45 | 0 | case Attributes::FeatureMap::TypeInfo::GetAttributeId(): |
46 | 0 | return DataModel::Decode(reader, featureMap); |
47 | 0 | case Attributes::ClusterRevision::TypeInfo::GetAttributeId(): |
48 | 0 | return DataModel::Decode(reader, clusterRevision); |
49 | 0 | default: |
50 | 0 | return CHIP_NO_ERROR; |
51 | 0 | } |
52 | 0 | } |
53 | | } // namespace Attributes |
54 | | } // namespace RvcRunMode |
55 | | } // namespace Clusters |
56 | | } // namespace app |
57 | | } // namespace chip |