// Custom includes
#include <memory> // std::auto_ptr
+#include "Utils/SafeBool.hh"
//#include "FileHandle.mpp"
///////////////////////////////hh.p////////////////////////////////////////
/** \brief
*/
class FileHandle
+ : public SafeBool<FileHandle>
{
public:
///////////////////////////////////////////////////////////////////////////
bool eof() const;
bool valid() const;
- operator bool () const;
- bool operator!() const;
+ bool boolean_test() const;
int fd() const;
FileBody::ptr body_;
};
+ int retrieve_filehandle(FileHandle handle);
+
}}
///////////////////////////////hh.e////////////////////////////////////////