PSCF v1.1
End.h
1#ifndef UTIL_END_H
2#define UTIL_END_H
3
4/*
5* Util Package - C++ Utilities for Scientific Computation
6*
7* Copyright 2010 - 2017, The Regents of the University of Minnesota
8* Distributed under the terms of the GNU General Public License.
9*/
10
11#include <util/param/ParamComponent.h>
12#include <util/param/Label.h>
13
14#include <string>
15
16namespace Util
17{
18
24 class End : public ParamComponent
25 {
26
27 public:
28
30 End();
31
33 virtual ~End();
34
40 virtual void readParam(std::istream &in);
41
47 virtual void writeParam(std::ostream &out) const;
48
50 void resetParam();
51
52 private:
53
54 Label label_;
55
56 };
57
58}
59#endif
End bracket of a ParamComposite parameter block.
Definition: End.h:25
void resetParam()
Do-nothing implementation of virtual resetParam function.
Definition: End.cpp:49
End()
Constructor.
Definition: End.cpp:17
virtual void writeParam(std::ostream &out) const
Write the closing bracket.
Definition: End.cpp:43
virtual ~End()
Destructor.
Definition: End.cpp:24
virtual void readParam(std::istream &in)
Read the closing bracket.
Definition: End.cpp:30
A label string in a file format.
Definition: Label.h:73
Abstract base class for classes that input and ouput parameters to file.
Utility classes for scientific computation.
Definition: accumulators.mod:1