FrontISTR  5.7.1
Large-scale structural analysis program with finit element method
CFSTRDB_Echo.cpp
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 /*
6  CFSTRDB_Echo Ver.1.0
7 */
8 
9 #include "CFSTRDB.h"
10 #include "CHECData.h"
11 
12 using namespace std;
13 
15 
17 
18 void CFSTRDB_Echo::Clear() { echo = 1; }
19 
21  if (echo) hecd->WriteHeader("!ECHO");
22 }
23 
24 bool CFSTRDB_Echo::Read(CHECData *hecd, char *header_line) {
25  echo = 1;
26  return true;
27 }
@ FSTRDB_ECHO
Definition: CFSTRDB.h:32
virtual void Write(class CHECData *hecd)
virtual void Clear()
virtual bool Read(class CHECData *hecd, char *header_line)
virtual ~CFSTRDB_Echo()
virtual void WriteHeader(const char *name, const char *fmt="",...)
Definition: CHECData.cpp:68