.. _program_listing_file_src_sparsebase_io_reader.h: Program Listing for File reader.h ================================= |exhale_lsh| :ref:`Return to documentation for file ` (``src/sparsebase/io/reader.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /******************************************************* * Copyright (c) 2022 SparCity, Amro Alabsi Aljundi, Taha Atahan Akyildiz, Arda *Sener All rights reserved. * * This file is distributed under MIT license. * The complete license agreement can be obtained at: * https://sparcityeu.github.io/sparsebase/pages/license.html ********************************************************/ #ifndef SPARSEBASE_SPARSEBASE_UTILS_IO_READER_H_ #define SPARSEBASE_SPARSEBASE_UTILS_IO_READER_H_ #include #include #include #include #include #include #include "sparsebase/config.h" #include "sparsebase/format/array.h" #include "sparsebase/format/coo.h" #include "sparsebase/format/csc.h" #include "sparsebase/format/csr.h" #include "sparsebase/format/format_order_one.h" #include "sparsebase/format/format_order_two.h" namespace sparsebase { namespace io { class Reader { public: virtual ~Reader() = default; }; template class ReadsCSR { public: virtual format::CSR *ReadCSR() const = 0; }; template class ReadsCOO { public: virtual format::COO *ReadCOO() const = 0; }; template class ReadsArray { public: virtual format::Array *ReadArray() const = 0; }; } // namespace io } // namespace sparsebase #endif // SPARSEBASE_SPARSEBASE_UTILS_IO_READER_H_