// // C++ Implementation: %{MODULE} // // Description: // // // Author: %{AUTHOR} <%{EMAIL}>, (C) %{YEAR} // // Copyright: See COPYING file that comes with this distribution // // #include "filedatareader.h" FileDataReader::FileDataReader(const string &name, const string &mode) :FileData(name,mode) { } FileDataReader::~FileDataReader() { } bool FileDataReader::has_sds(const string &sds_name) { int n = this->get_n_dataset(); for(int i=0; iget_dataset_name(i) == sds_name) return true; } return false; }