OpenKalman
descriptor_collection.hpp
Go to the documentation of this file.
1 /* This file is part of OpenKalman, a header-only C++ library for
2  * Kalman filters and other recursive filters.
3  *
4  * Copyright (c) 2025 Christopher Lee Ogden <ogden@gatech.edu>
5  *
6  * This Source Code Form is subject to the terms of the Mozilla Public
7  * License, v. 2.0. If a copy of the MPL was not distributed with this
8  * file, You can obtain one at https://mozilla.org/MPL/2.0/.
9  */
10 
16 #ifndef OPENKALMAN_COORDINATES_GROUP_COLLECTION_HPP
17 #define OPENKALMAN_COORDINATES_GROUP_COLLECTION_HPP
18 
20 #include "descriptor_tuple.hpp"
21 #include "descriptor_range.hpp"
22 
24 {
29  template<typename T>
30 #ifdef __cpp_concepts
31  concept descriptor_collection =
32 #else
33  constexpr bool descriptor_collection =
34 #endif
35  collections::collection<T> and (descriptor_tuple<T> or descriptor_range<T>);
36 
37 
38 } // namespace OpenKalman::coordinates
39 
40 #endif //OPENKALMAN_COORDINATES_GROUP_COLLECTION_HPP
Definition for collections::collection.
constexpr bool descriptor_collection
An object describing a collection of /ref coordinates::descriptor objects.
Definition: descriptor_collection.hpp:33
Definition for coordinates::descriptor_tuple.
Definition: compares_with.hpp:28
Definition for pattern_range.