Devuelve la estructura de bajo nivel con la que leemos el archivo.
\return La estructura de bajo nivel con la que leemos el archivo.
*/
- FILE* getFile() throw() { return a_file; }
+ FILE* getFile() { return a_file; }
/**
Devuelve \em true si el fichero indicado en el constructor puede ser tratado
\return \em true si el fichero indicado en el constructor puede ser tratado
\em false en otro caso.
*/
- bool isok() const throw() { return a_file != NULL; }
+ bool isok() const { return a_file != NULL; }
/**
Prepara esta instancia para trabajar con un nuevo archivo.
\param filename Nombre del archivo con el que trabajar.
*/
- void open(const std::string& filename) throw(anna::RuntimeException);
+ void open(const std::string& filename) noexcept(false);
/**
Libera los recursos del fichero.
*/
- void close() throw();
+ void close() ;
protected:
FILE* a_file;
* Verifica que el fichero fué abierto correctamente.
* \warning Exclusivamente de uso interno.
*/
- void verify() throw(RuntimeException);
+ void verify() noexcept(false);
private:
const std::string a_filename;