44 #ifndef EPETRAEXT_XMLWRITER_H
45 #define EPETRAEXT_XMLWRITER_H
47 #if defined(EpetraExt_SHOW_DEPRECATED_WARNINGS)
49 #warning "The EpetraExt package is deprecated"
54 #include "Teuchos_RCP.hpp"
185 void Create(
const std::string& Label);
203 void Write(
const std::string& Label,
const std::vector<std::string>& Content);
206 void Write(
const std::string& Label,
const std::string& Text)
208 std::vector<std::string> Content;
209 Content.push_back(Text);
210 Write(Label, Content);
214 void Write(
const std::string& Label, Teuchos::ParameterList& List);
221 std::string FileName_;
class XMLWriter: A class for writing Trilinos objects to XML files.
XMLWriter(const Epetra_Comm &Comm, const std::string &FileName)
ctor
void Write(const std::string &Label, const std::string &Text)
Writes input std::string using label Label.
void Create(const std::string &Label)
Creates the file, giving Label to the whole object.
void Close()
Closes the file. No Write operations can follow.
void Write(const std::string &Label, const Epetra_Map &Map)
Writes an Epetra_Map using label Label.