|
Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|
#include <Teuchos_MatrixMarket_CoordDataReader.hpp>

Public Member Functions | |
| CoordDataReader (const Teuchos::RCP< Callback > &adder) | |
| CoordDataReader () | |
| virtual | ~CoordDataReader () |
| Public Member Functions inherited from Teuchos::MatrixMarket::CoordDataReaderBase< Callback, Ordinal > | |
| CoordDataReaderBase (const Teuchos::RCP< Callback > &adder) | |
| Constructor with "adder" argument. | |
| CoordDataReaderBase () | |
| No-argument constructor. | |
| virtual | ~CoordDataReaderBase () |
| Virtual destructor for safety and happy compilers. | |
| void | setAdder (const Teuchos::RCP< Callback > &adder) |
| Set the Adder object. | |
| virtual std::pair< bool, std::vector< size_t > > | read (std::istream &in, const size_t startingLineNumber, const bool tolerant, const bool debug=false) |
| Read in all the data from the given input stream. | |
| std::pair< Teuchos::Tuple< Ordinal, 3 >, bool > | readDimensions (std::istream &in, size_t &lineNumber, const bool tolerant=false) |
| Read (numRows, numCols, numNonzeros). | |
Protected Member Functions | |
| bool | readLine (const std::string &theLine, const size_t lineNumber, const bool tolerant) |
| Read in the data from a single line of the input stream. | |
Additional Inherited Members | |
| Protected Attributes inherited from Teuchos::MatrixMarket::CoordDataReaderBase< Callback, Ordinal > | |
| Teuchos::RCP< Callback > | adder_ |
| Closure that knows how to add entries to the sparse graph or matrix. | |
Definition at line 550 of file Teuchos_MatrixMarket_CoordDataReader.hpp.
|
inline |
Definition at line 553 of file Teuchos_MatrixMarket_CoordDataReader.hpp.
|
inline |
Definition at line 557 of file Teuchos_MatrixMarket_CoordDataReader.hpp.
|
inlinevirtual |
Definition at line 561 of file Teuchos_MatrixMarket_CoordDataReader.hpp.
|
inlineprotectedvirtual |
Read in the data from a single line of the input stream.
| theLine | [in] The line read in from the input stream. |
| adder | [in/out] The callback to invoke for adding an entry to the sparse matrix. |
| lineNumber | [in] Current line number of the file. We use this for generating informative exception messages. |
| tolerant | [in] Whether to parse tolerantly. |
Subclasses must implement this method in order to read one entry of the sparse graph or matrix. Implementations should use the callback (adder_) to add the entry.
Implements Teuchos::MatrixMarket::CoordDataReaderBase< Callback, Ordinal >.
Definition at line 565 of file Teuchos_MatrixMarket_CoordDataReader.hpp.