27 return makeUnique<iFstream>(
path());
34 auto osPtr = makeUnique<oFstream>(path());
38 auto outPrecision = owner_->outFilePrecision();
39 osPtr->precision(outPrecision);
61 f = owner_->
path()/localPath();
77 " the file "<< path() <<
" does not exist. \n";
84 if(
auto ptrIS = inStream(); ptrIS )
86 return readHeader( ptrIS(), silent );
92 "could not open file " << path() <<
endl;
102 if (isReadAlways())
return true;
103 return readIfPresent();
108 return isWriteAlways();
113 return path().exist();
118 return fileExist() && isReadIfPresent();
139 return writeHeader(os, objectType_);
150 "cannot find/error in reading objectName in file " <<
161 "cannot find/error in reading objectType in file "<<
173 "/* -------------------------------*- C++ -*---------------------------------- *\\ \n"<<
174 "| phasicFlow File | \n"<<
175 "| copyright: www.cemf.ir | \n"<<
176 "\\* ------------------------------------------------------------------------- */ \n \n";
184 "// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // \n \n";