44 #ifndef EPETRAEXT_XMLREADER_H
45 #define EPETRAEXT_XMLREADER_H
48 #include "Teuchos_RefCountPtr.hpp"
53 class Epetra_MultiVector;
54 class Epetra_CrsGraph;
55 class Epetra_CrsMatrix;
116 XMLReader(
const Epetra_Comm& Comm,
const std::string& FileName);
125 void Read(
const std::string& Label, Epetra_Map*& Map);
128 void Read(
const std::string& Label, Epetra_CrsGraph*& Graph);
131 void Read(
const std::string& Label, Epetra_CrsMatrix*& Matrix);
134 void Read(
const std::string& Label, Epetra_MultiVector*& MultiVector);
137 void Read(
const std::string& Label, std::vector<std::string>& Content);
140 void Read(
const std::string& Label, Teuchos::ParameterList& List);
147 const Epetra_Comm& Comm_;
149 Teuchos::RefCountPtr<Teuchos::XMLObject> fileXML_;
void Read(const std::string &Label, Epetra_Map *&Map)
Reads the Epetra_Map stored with label Label.
XMLReader(const Epetra_Comm &Comm, const std::string &FileName)
ctor
class XMLReader: A class for reading Epetra objects stored in XML files.