Lines Matching refs:m_file
55 m_file.Open(path.GetRaw(), wxT("r"));
58 m_file.Open(path.GetRaw(), wxT("w"));
74 return m_file.IsOpened();
83 return m_file.IsOpened() ? m_file.Eof() : true;
89 return m_file.Close();
95 wxCHECK_MSG(m_file.IsOpened(), wxEmptyString, wxT("Trying to read from closed file."));
96 wxCHECK_MSG(!m_file.Eof(), wxEmptyString, wxT("Trying to read past EOF"));
105 while (fgets(buffer, TXTBUF_SIZE, m_file.fp())) {
176 wxCHECK_MSG(m_file.IsOpened(), false, wxT("Trying to read from closed file."));
185 if (m_file.Tell() > 0) {
193 return (m_file.Write(strBuffer, length) == length);