@@ -84,9 +84,9 @@ class TableConsumer;
8484// / a table. The provided template arguments are if type Column and
8585// / therefore refer only to the persisted columns.
8686template <typename T>
87- concept producable = soa::has_metadata<T> || soa::has_metadata<typename T::parent_t >;
87+ concept is_producable = soa::has_metadata<aod::MetadataTrait<T>> || soa::has_metadata<aod::MetadataTrait< typename T::parent_t > >;
8888
89- template <producable T>
89+ template <is_producable T>
9090struct WritingCursor {
9191 public:
9292 using persistent_table_t = decltype ([]() { if constexpr (soa::is_iterator<T>) { return typename T::parent_t {nullptr }; } else { return T{nullptr }; } }()); // std::conditional<soa::is_iterator<T>, typename T::parent_t, T>;
@@ -174,7 +174,7 @@ struct OutputForTable {
174174// / given analysis task. Notice how the actual cursor is implemented by the
175175// / means of the WritingCursor helper class, from which produces actually
176176// / derives.
177- template <producable T>
177+ template <is_producable T>
178178struct Produces : WritingCursor<T> {
179179};
180180
@@ -227,9 +227,9 @@ struct TableTransform {
227227// / This helper struct allows you to declare extended tables which should be
228228// / created by the task (as opposed to those pre-defined by data model)
229229template <typename T>
230- concept spawnable = soa::is_table<T> && soa::has_metadata<T >;
230+ concept is_spawnable = soa::is_table<T> && soa::has_metadata<aod::MetadataTrait<T> >;
231231
232- template <spawnable T>
232+ template <is_spawnable T>
233233struct Spawns : TableTransform<typename aod::MetadataTrait<o2::aod::Hash<T::ref.desc_hash>>::metadata, T::ref> {
234234 using metadata = TableTransform<typename aod::MetadataTrait<o2::aod::Hash<T::ref.desc_hash>>::metadata, T::ref>::metadata;
235235 using extension_t = typename metadata::extension_table_t ;
0 commit comments