blob: e6ae12f8136fab7d52f91383b8b244f2c9a36d9c [file] [log] [blame]
/*
*
* Copyright (c) 2020-2021 Project CHIP Authors
* All rights reserved.
*
* 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.
*/
#pragma once
namespace chip {
namespace app {
namespace DataModel {
//
// This type exists purely as a means to
// achieve normalization and consistency in templated APIs
// where it is possible to accept a valid data model type as
// well as not have one either. In the latter case, this type
// can be used to convey 'no type'.
//
struct NullObjectType
{
};
} // namespace DataModel
} // namespace app
} // namespace chip