Template Class BinaryReaderOrderTwo

Inheritance Relationships

Base Types

Class Documentation

template<typename IDType, typename NNZType, typename ValueType>
class sparsebase::io::BinaryReaderOrderTwo : public sparsebase::io::Reader, public sparsebase::io::ReadsCSR<IDType, NNZType, ValueType>, public sparsebase::io::ReadsCOO<IDType, NNZType, ValueType>

Reads files encoded in SparseBase’s custom binary format (CSR and COO)

Public Functions

explicit BinaryReaderOrderTwo(std::string filename)
~BinaryReaderOrderTwo() override = default
virtual format::COO<IDType, NNZType, ValueType> *ReadCOO() const override

Reads the file to a COO instance and returns a pointer to it.

virtual format::CSR<IDType, NNZType, ValueType> *ReadCSR() const override

Reads the file to a CSR instance and returns a pointer to it.