Simpatico  v1.10
Blank.cpp
1 /*
2 * Util Package - C++ Utilities for Scientific Computation
3 *
4 * Copyright 2010 - 2017, The Regents of the University of Minnesota
5 * Distributed under the terms of the GNU General Public License.
6 */
7 
8 #include "Blank.h"
9 
10 namespace Util
11 {
12 
15  : ParamComponent()
16  {}
17 
20  {}
21 
27  void Blank::readParam(std::istream &in)
28  {
29  if (isIoProcessor()) {
30  char buf[255];
31  in.getline(buf,255);
32  if (ParamComponent::echo()) {
34  }
35  }
36  }
37 
43  void Blank::writeParam(std::ostream &out)
44  { out << std::endl; }
45 
46 }
virtual void readParam(std::istream &in)
Read a blank line.
Definition: Blank.cpp:27
virtual void writeParam(std::ostream &out)
Write a blank line.
Definition: Blank.cpp:43
Blank()
Constructor.
Definition: Blank.cpp:14
Utility classes for scientific computation.
Definition: accumulators.mod:1
static bool echo()
Get echo parameter.
bool isIoProcessor() const
Can this processor do file I/O ?
Definition: MpiFileIo.h:92
Abstract base class for classes that input and ouput parameters to file.
static std::ostream & file()
Get log ostream by reference.
Definition: Log.cpp:57
virtual ~Blank()
Virtual Destructor.
Definition: Blank.cpp:19