src/tools/DataFileEngineXml.cpp
bool
DataFileEngineXml::
read(bool& x, const std::string& varname, int j, int i) const
{
  int my_x;
  bool status = read(my_x, varname, j, i);
  if (status) {
    if (my_x) {
      x = true;
    }
    else {
      x = false;
    }
  }
  return status;
}
// Read single booleans (stored as an integer in the file)
Read single booleans (stored as an integer in the file)
Read single booleans ( stored as an integer in the file )
bool
DataFileEngineXml::
read(bool& x, const std::string& varname, int j, int i) const
{
  int my_x;
  bool status = read(my_x, varname, j, i);
  if (status) {
    if (my_x) {
      x = true;
    }
    else {
      x = false;
    }
  }
  return status;
}
bool DataFileEngineXml :: read ( bool & x , const std :: string & varname , int j , int i ) const { int my_x ; bool status = read ( my_x , varname , j , i ) ; if ( status ) { if ( my_x ) { x = true ; } else { x = false ; } } return status ; }
Read single booleans (stored as an integer in the file)
Read single booleans ( stored as an integer in the file )