FrontISTR  5.7.1
Large-scale structural analysis program with finit element method
CFSTRDB_Reftemp.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_Reftemp Ver.1.0
7 */
8 
9 #include "CFSTRDB.h"
10 #include "CHECData.h"
11 
12 using namespace std;
13 
15 
17 
19 
21  hecd->WriteHeader("!REFTEMP");
22  hecd->WriteData("F", value);
23 }
24 
25 bool CFSTRDB_Reftemp::Read(CHECData *hecd, char *header_line) {
26  int rcode[5];
27  return hecd->ReadData(rcode, "F", &value);
28 }
@ FSTRDB_REFTEMP
Definition: CFSTRDB.h:40
virtual void Write(class CHECData *hecd)
double value
Definition: CFSTRDB.h:305
virtual bool Read(class CHECData *hecd, char *header_line)
virtual void Clear()
virtual ~CFSTRDB_Reftemp()
virtual bool ReadData(int *rcode, const char *fmt,...)
Definition: CHECData.cpp:548
virtual void WriteData(const char *fmt,...)
Definition: CHECData.cpp:162
virtual void WriteHeader(const char *name, const char *fmt="",...)
Definition: CHECData.cpp:68