58 enum { BufferSize = 1024 };
61 std::string fn, fullName ;
66 if( fullName.length() == 0 )
68 std::ifstream
file(fullName.c_str() ,std::ios::in);
69 if (!
file)
return false;
72 while(
file.getline(buf,BufferSize)){
73 if((buf[0]==
'E')||(buf[0]==
'F')){
75 std::istringstream line(buf);
77 line >> PPType >> nChannel;
114 file.getline(buf,BufferSize);
115 std::istringstream line(buf);
120 if(PPType==
"FST"||PPType==
"FSD"||PPType==
"EST"||PPType==
"ESD"||PPType==
"FSI"||PPType==
"ESI"){