/** * Returns true if the next line is empty. */ bool nextLineEmpty() { m_file.skipLine(); char ch; while(m_file.peekChar(&ch) && isspace(ch) && ch != '\n') m_file.readChar(&ch); if(m_file.peekChar(&ch) && ch == '\n') return true; return false; }