10#ifndef __Teuchos_MatrixMarket_Banner_hpp
11#define __Teuchos_MatrixMarket_Banner_hpp
35 class TEUCHOSNUMERICS_LIB_DLL_EXPORT
Banner {
54 const std::string&
objectType()
const {
return objectType_; }
61 const std::string&
matrixType()
const {
return matrixType_; }
67 const std::string&
dataType()
const {
return dataType_; }
90 const std::string&
symmType()
const {
return symmType_; }
93 static std::string validateObjectType (
const std::string& objectType,
const bool tolerant=
false);
94 static std::string validateMatrixType (
const std::string& matrixType,
const bool tolerant=
false);
95 static std::string validateDataType (
const std::string& dataType,
const bool tolerant=
false);
96 static std::string validateSymmType (
const std::string& symmType,
const bool tolerant=
false);
99 void setDefaults (
const int howMany);
101 std::string objectType_, matrixType_, dataType_, symmType_;
119 TEUCHOSNUMERICS_LIB_DLL_EXPORT std::ostream&
operator<< (std::ostream& out,
const Banner&
banner);
Teuchos header file which uses auto-configuration information to include necessary C++ headers.
Parse a Matrix Market banner line.
const std::string & symmType() const
Symmetric storage type.
const std::string & objectType() const
The object type.
const std::string & dataType() const
Data type of matrix entries.
const std::string & matrixType() const
Storage type of the matrix.
Smart reference counting pointer class for automatic garbage collection.
Matrix Market file utilities.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...