Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream

This commit is contained in:
wmayer
2022-08-21 12:46:53 +02:00
parent 5be214b885
commit 5014bab534
13 changed files with 60 additions and 31 deletions

View File

@@ -1545,8 +1545,9 @@ void FemMesh::readNastran(const std::string &Filename)
_Mtrx = Base::Matrix4D();
std::ifstream inputfile;
inputfile.open(Filename.c_str());
Base::FileInfo fi(Filename);
Base::ifstream inputfile;
inputfile.open(fi);
inputfile.seekg(std::ifstream::beg);
std::string line1,line2;
std::vector<NastranElementPtr> mesh_elements;
@@ -1636,8 +1637,9 @@ void FemMesh::readNastran95(const std::string &Filename)
_Mtrx = Base::Matrix4D();
std::ifstream inputfile;
inputfile.open(Filename.c_str());
Base::FileInfo fi(Filename);
Base::ifstream inputfile;
inputfile.open(fi);
inputfile.seekg(std::ifstream::beg);
std::string line1,line2,tcard;