From 24b6281429af7705d8cbe9e6bdfe7c51e7c4a839 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Tue, 18 Jul 2023 12:09:26 -0400 Subject: [PATCH] Fix doxygen groups for io data sources and sinks --- cpp/include/cudf/io/data_sink.hpp | 8 ++++++++ cpp/include/cudf/io/datasource.hpp | 7 +++++++ cpp/include/doxygen_groups.h | 3 ++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/cpp/include/cudf/io/data_sink.hpp b/cpp/include/cudf/io/data_sink.hpp index 01aac2fee99..69d8a388d45 100644 --- a/cpp/include/cudf/io/data_sink.hpp +++ b/cpp/include/cudf/io/data_sink.hpp @@ -30,6 +30,13 @@ namespace cudf { //! IO interfaces namespace io { + +/** + * @addtogroup io_datasinks + * @{ + * @file + */ + /** * @brief Interface class for storing the output data from the writers */ @@ -200,5 +207,6 @@ class data_sink { virtual size_t bytes_written() = 0; }; +/** @} */ // end of group } // namespace io } // namespace cudf diff --git a/cpp/include/cudf/io/datasource.hpp b/cpp/include/cudf/io/datasource.hpp index 1d4943d9826..eac19dc81cd 100644 --- a/cpp/include/cudf/io/datasource.hpp +++ b/cpp/include/cudf/io/datasource.hpp @@ -58,6 +58,12 @@ namespace cudf { //! IO interfaces namespace io { +/** + * @addtogroup io_datasources + * @{ + * @file + */ + /** * @brief Interface class for providing input data to the readers. */ @@ -508,5 +514,6 @@ class arrow_io_source : public datasource { std::shared_ptr arrow_file; }; +/** @} */ // end of group } // namespace io } // namespace cudf diff --git a/cpp/include/doxygen_groups.h b/cpp/include/doxygen_groups.h index b2e6dadcca3..c46a4c36da2 100644 --- a/cpp/include/doxygen_groups.h +++ b/cpp/include/doxygen_groups.h @@ -141,9 +141,10 @@ * @} * @defgroup io_apis IO * @{ - * @defgroup io_datasources Datasources * @defgroup io_readers Readers * @defgroup io_writers Writers + * @defgroup io_datasources Data Sources + * @defgroup io_datasinks Data Sinks * @} * @defgroup lists_apis Lists * @{