Advanced Multi-Physics (AMP)
On-Line Documentation
NullWriter.h
Go to the documentation of this file.
1#ifndef included_AMP_NullWriter
2#define included_AMP_NullWriter
3
4#include "AMP/IO/Writer.h"
5
6
7namespace AMP::IO {
8
9
16{
17public:
20
22 virtual ~NullWriter() {}
23
24 // Inherited functions
26 void readFile( const std::string & ) override{};
27 void writeFile( const std::string &, size_t, double = 0 ) override {}
28};
29
30} // namespace AMP::IO
31
32#endif
A class used to abstract away reading/writing files for visualization.
Definition NullWriter.h:16
WriterProperties getProperties() const override
Function to get the writer properties.
void readFile(const std::string &) override
Function to read a file.
Definition NullWriter.h:26
void writeFile(const std::string &, size_t, double=0) override
Function to write a file.
Definition NullWriter.h:27
NullWriter()
Default constructor.
Definition NullWriter.h:19
virtual ~NullWriter()
Default destructor.
Definition NullWriter.h:22
A class used to abstract away reading/writing files.
Definition Writer.h:37



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:40.
Comments on this page