src/RTT_Format_Reader/SideDataIDs.cc
void SideDataIDs::readData(ifstream &meshfile) {
  int dataIDNum;
  string dummyString;

  for (unsigned i = 0; i < static_cast<unsigned int>(dims.get_nside_data()); ++i) {
    Check(i < names.size() && i < units.size());
    meshfile >> dataIDNum >> names[i] >> units[i];
    Insist(static_cast<unsigned int>(dataIDNum) == i + 1,
           "Invalid mesh file: side data ID out of order");
    std::getline(meshfile, dummyString);
  }
}
/*!
 * \brief Reads and validates the side_data_ids block data.
 * \param meshfile Mesh file name.
 */
\brief Reads and validates the side_data_ids block data.
\param meshfile Mesh file name.
\ brief Reads and validates the side_data_ids block data . \ param meshfile Mesh file name .
void SideDataIDs::readData(ifstream &meshfile) {
  int dataIDNum;
  string dummyString;
  for (unsigned i = 0; i < static_cast<unsigned int>(dims.get_nside_data()); ++i) {
    Check(i < names.size() && i < units.size());
    meshfile >> dataIDNum >> names[i] >> units[i];
    Insist(static_cast<unsigned int>(dataIDNum) == i + 1,
           "Invalid mesh file: side data ID out of order");
    std::getline(meshfile, dummyString);
  }
}
void SideDataIDs :: readData ( ifstream & meshfile ) { int dataIDNum ; string dummyString ; for ( unsigned i = 0 ; i < static_cast < unsigned int > ( dims . get_nside_data ( ) ) ; ++ i ) { Check ( i < names . size ( ) && i < units . size ( ) ) ; meshfile >> dataIDNum >> names [ i ] >> units [ i ] ; Insist ( static_cast < unsigned int > ( dataIDNum ) == i + 1 , " " ) ; std :: getline ( meshfile , dummyString ) ; } }
\brief Reads and validates the side_data_ids block data.
\ brief Reads and validates the side_data_ids block data .