-
- FileFd(string FileName,OpenMode Mode,unsigned long Perms = 0666);
- FileFd(int Fd) : iFd(Fd), Flags(AutoClose) {};
+ inline bool Eof() {return (Flags & HitEof) == HitEof;};
+ inline string &Name() {return FileName;};
+
+ FileFd(string FileName,OpenMode Mode,unsigned long Perms = 0666) : iFd(-1),
+ Flags(0)
+ {
+ Open(FileName,Mode,Perms);
+ };
+ FileFd(int Fd = -1) : iFd(Fd), Flags(AutoClose) {};