From 337774cd8faa89af8fc787709de81f814cda6509 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Sat, 4 Nov 2023 00:24:30 +0100 Subject: [PATCH] ranges: comment blocks --- src/include/ranges/crange.cc.h | 28 +++++++++++----------------- src/include/ranges/crange.h | 11 +++++++++++ src/include/ranges/dindex.cc.h | 11 +++++++++++ src/include/ranges/dindex.h | 11 +++++++++++ src/include/ranges/eindex.cc.h | 11 +++++++++++ src/include/ranges/eindex.h | 11 +++++++++++ src/include/ranges/index_base.cc.h | 11 +++++++++++ src/include/ranges/index_base.h | 10 ++++++++++ src/include/ranges/index_format.cc.h | 11 +++++++++++ src/include/ranges/index_format.h | 11 +++++++++++ src/include/ranges/index_mul.cc.h | 11 +++++++++++ src/include/ranges/index_mul.h | 11 +++++++++++ src/include/ranges/index_pack.cc.h | 11 +++++++++++ src/include/ranges/index_pack.h | 11 +++++++++++ src/include/ranges/index_utils.h | 11 +++++++++++ src/include/ranges/lindex.cc.h | 11 +++++++++++ src/include/ranges/lindex.h | 11 +++++++++++ src/include/ranges/mrange.cc.h | 11 +++++++++++ src/include/ranges/mrange.h | 10 ++++++++++ src/include/ranges/prange.cc.h | 11 +++++++++++ src/include/ranges/prange.h | 11 +++++++++++ src/include/ranges/range_base.cc.h | 13 +++++++++++-- src/include/ranges/range_base.h | 2 +- src/include/ranges/ranges.cc.h | 11 +++++++++++ src/include/ranges/ranges.h | 11 +++++++++++ src/include/ranges/srange.cc.h | 11 +++++++++++ src/include/ranges/srange.h | 10 ++++++++++ src/include/ranges/urange.cc.h | 11 +++++++++++ src/include/ranges/urange.h | 10 ++++++++++ src/include/ranges/xindex.cc.h | 11 +++++++++++ src/include/ranges/xindex.h | 11 +++++++++++ src/include/ranges/yrange.h | 11 +++++++++++ 32 files changed, 338 insertions(+), 20 deletions(-) diff --git a/src/include/ranges/crange.cc.h b/src/include/ranges/crange.cc.h index ed8c0d3..6a8e3be 100644 --- a/src/include/ranges/crange.cc.h +++ b/src/include/ranges/crange.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/crange.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_crange_cc_h__ #define __cxz_crange_cc_h__ @@ -17,24 +28,7 @@ namespace CNORXZ return UPos(id == this->id() ? 1 : 0); } } - /* - template - decltype(auto) CIndex::formatFrom(const Index& ind) const - { - return *this; - } - template - decltype(auto) CIndex::slice(const Sptr& ind) const - { - if(ind != nullptr){ - if(ind->dim() != 0) { - return Sptr(); - } - } - return std::make_shared(*this); - } - */ template decltype(auto) CIndex::ifor(const Xpr& xpr, F&& f) const { diff --git a/src/include/ranges/crange.h b/src/include/ranges/crange.h index b813ded..3cbf138 100644 --- a/src/include/ranges/crange.h +++ b/src/include/ranges/crange.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/crange.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_crange_h__ #define __cxz_crange_h__ diff --git a/src/include/ranges/dindex.cc.h b/src/include/ranges/dindex.cc.h index 051267e..a192315 100644 --- a/src/include/ranges/dindex.cc.h +++ b/src/include/ranges/dindex.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/dindex.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_dindex_cc_h__ #define __cxz_dindex_cc_h__ diff --git a/src/include/ranges/dindex.h b/src/include/ranges/dindex.h index 84613fb..dfe98ad 100644 --- a/src/include/ranges/dindex.h +++ b/src/include/ranges/dindex.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/dindex.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_dindex_h__ #define __cxz_dindex_h__ diff --git a/src/include/ranges/eindex.cc.h b/src/include/ranges/eindex.cc.h index 8129616..e0c31c1 100644 --- a/src/include/ranges/eindex.cc.h +++ b/src/include/ranges/eindex.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/eindex.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_eindex_cc_h__ #define __cxz_eindex_cc_h__ diff --git a/src/include/ranges/eindex.h b/src/include/ranges/eindex.h index 83dc201..0d8b368 100644 --- a/src/include/ranges/eindex.h +++ b/src/include/ranges/eindex.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/eindex.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_eindex_h__ #define __cxz_eindex_h__ diff --git a/src/include/ranges/index_base.cc.h b/src/include/ranges/index_base.cc.h index 32d0441..38edb69 100644 --- a/src/include/ranges/index_base.cc.h +++ b/src/include/ranges/index_base.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/index_base.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_index_base_cc_h__ #define __cxz_index_base_cc_h__ diff --git a/src/include/ranges/index_base.h b/src/include/ranges/index_base.h index 72a4356..d541efb 100644 --- a/src/include/ranges/index_base.h +++ b/src/include/ranges/index_base.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + + @file include/ranges/index_base.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_index_base_h__ #define __cxz_index_base_h__ diff --git a/src/include/ranges/index_format.cc.h b/src/include/ranges/index_format.cc.h index 440086a..2d5b691 100644 --- a/src/include/ranges/index_format.cc.h +++ b/src/include/ranges/index_format.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/index_format.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_index_format_cc_h__ #define __cxz_index_format_cc_h__ diff --git a/src/include/ranges/index_format.h b/src/include/ranges/index_format.h index 268d4fc..0b7f1d1 100644 --- a/src/include/ranges/index_format.h +++ b/src/include/ranges/index_format.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/index_format.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_index_format_h__ #define __cxz_index_format_h__ diff --git a/src/include/ranges/index_mul.cc.h b/src/include/ranges/index_mul.cc.h index 319ed63..0395560 100644 --- a/src/include/ranges/index_mul.cc.h +++ b/src/include/ranges/index_mul.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/index_mul.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_index_mul_cc_h__ #define __cxz_index_mul_cc_h__ diff --git a/src/include/ranges/index_mul.h b/src/include/ranges/index_mul.h index 91cbec6..5e08cb3 100644 --- a/src/include/ranges/index_mul.h +++ b/src/include/ranges/index_mul.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/index_mul.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_index_mul_h__ #define __cxz_index_mul_h__ diff --git a/src/include/ranges/index_pack.cc.h b/src/include/ranges/index_pack.cc.h index ac644e5..f8b05f5 100644 --- a/src/include/ranges/index_pack.cc.h +++ b/src/include/ranges/index_pack.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/index_pack.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_index_pack_cc_h__ #define __cxz_index_pack_cc_h__ diff --git a/src/include/ranges/index_pack.h b/src/include/ranges/index_pack.h index 61cbf21..adaa628 100644 --- a/src/include/ranges/index_pack.h +++ b/src/include/ranges/index_pack.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/index_pack.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_index_pack_h__ #define __cxz_index_pack_h__ diff --git a/src/include/ranges/index_utils.h b/src/include/ranges/index_utils.h index ed8f290..e2f3cb4 100644 --- a/src/include/ranges/index_utils.h +++ b/src/include/ranges/index_utils.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/index_utils.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_index_utils_h__ #define __cxz_index_utils_h__ diff --git a/src/include/ranges/lindex.cc.h b/src/include/ranges/lindex.cc.h index 6fb8f8f..4dc5dab 100644 --- a/src/include/ranges/lindex.cc.h +++ b/src/include/ranges/lindex.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/lindex.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_lindex_cc_h__ #define __cxz_lindex_cc_h__ diff --git a/src/include/ranges/lindex.h b/src/include/ranges/lindex.h index 0c79971..cf550b7 100644 --- a/src/include/ranges/lindex.h +++ b/src/include/ranges/lindex.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/lindex.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_lindex_h__ #define __cxz_lindex_h__ diff --git a/src/include/ranges/mrange.cc.h b/src/include/ranges/mrange.cc.h index baa9f76..b75b4b9 100644 --- a/src/include/ranges/mrange.cc.h +++ b/src/include/ranges/mrange.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/mrange.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_mrange_cc_h__ #define __cxz_mrange_cc_h__ diff --git a/src/include/ranges/mrange.h b/src/include/ranges/mrange.h index 738af9d..df0c9b5 100644 --- a/src/include/ranges/mrange.h +++ b/src/include/ranges/mrange.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + + @file include/ranges/mrange.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_mrange_h__ #define __cxz_mrange_h__ diff --git a/src/include/ranges/prange.cc.h b/src/include/ranges/prange.cc.h index 8288914..fea55ab 100644 --- a/src/include/ranges/prange.cc.h +++ b/src/include/ranges/prange.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/prange.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_prange_cc_h__ #define __cxz_prange_cc_h__ diff --git a/src/include/ranges/prange.h b/src/include/ranges/prange.h index e064056..ac3c1c6 100644 --- a/src/include/ranges/prange.h +++ b/src/include/ranges/prange.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/prange.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_prange_h__ #define __cxz_prange_h__ diff --git a/src/include/ranges/range_base.cc.h b/src/include/ranges/range_base.cc.h index 23fe348..779d871 100644 --- a/src/include/ranges/range_base.cc.h +++ b/src/include/ranges/range_base.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/range_base.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_range_base_cc_h__ #define __cxz_range_base_cc_h__ @@ -6,8 +17,6 @@ #include "dindex.h" #include "mrange.h" -//#include "crange.h" - namespace CNORXZ { diff --git a/src/include/ranges/range_base.h b/src/include/ranges/range_base.h index 6339881..508877c 100644 --- a/src/include/ranges/range_base.h +++ b/src/include/ranges/range_base.h @@ -1,7 +1,7 @@ // -*- C++ -*- /** - @file include/range/range_base.h + @file include/ranges/range_base.h @brief RangeBase declaration Include basic headers containing defintions and macros diff --git a/src/include/ranges/ranges.cc.h b/src/include/ranges/ranges.cc.h index 4225dff..9f4f18f 100644 --- a/src/include/ranges/ranges.cc.h +++ b/src/include/ranges/ranges.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/ranges.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #include "index_base.cc.h" #include "range_base.cc.h" diff --git a/src/include/ranges/ranges.h b/src/include/ranges/ranges.h index 7423b69..36f51bc 100644 --- a/src/include/ranges/ranges.h +++ b/src/include/ranges/ranges.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/ranges.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #include "range_base.h" #include "index_base.h" diff --git a/src/include/ranges/srange.cc.h b/src/include/ranges/srange.cc.h index 5c8312c..481223e 100644 --- a/src/include/ranges/srange.cc.h +++ b/src/include/ranges/srange.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/srange.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_range_cc_h__ #define __cxz_range_cc_h__ diff --git a/src/include/ranges/srange.h b/src/include/ranges/srange.h index 41c788c..230ef44 100644 --- a/src/include/ranges/srange.h +++ b/src/include/ranges/srange.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + + @file include/ranges/srange.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_srange_h__ #define __cxz_srange_h__ diff --git a/src/include/ranges/urange.cc.h b/src/include/ranges/urange.cc.h index b584f58..9a75837 100644 --- a/src/include/ranges/urange.cc.h +++ b/src/include/ranges/urange.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/urange.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_urange_cc_h__ #define __cxz_urange_cc_h__ diff --git a/src/include/ranges/urange.h b/src/include/ranges/urange.h index 370ba41..d4ec151 100644 --- a/src/include/ranges/urange.h +++ b/src/include/ranges/urange.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + + @file include/ranges/urange.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_urange_h__ #define __cxz_urange_h__ diff --git a/src/include/ranges/xindex.cc.h b/src/include/ranges/xindex.cc.h index 6cc325e..a7b6460 100644 --- a/src/include/ranges/xindex.cc.h +++ b/src/include/ranges/xindex.cc.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/xindex.cc.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_xindex_cc_h__ #define __cxz_xindex_cc_h__ diff --git a/src/include/ranges/xindex.h b/src/include/ranges/xindex.h index 71fc4c3..fa3b32d 100644 --- a/src/include/ranges/xindex.h +++ b/src/include/ranges/xindex.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/xindex.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_xindex_h__ #define __cxz_xindex_h__ diff --git a/src/include/ranges/yrange.h b/src/include/ranges/yrange.h index 355b080..62bb89b 100644 --- a/src/include/ranges/yrange.h +++ b/src/include/ranges/yrange.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + + @file include/ranges/yrange.h + @brief ... + + + Copyright (c) 2022 Christian Zimmermann. All rights reserved. + Mail: chizeta@f3l.de + +**/ #ifndef __cxz_yrange_h__ #define __cxz_yrange_h__