NLMISC::EFile Struct Reference

#include <file.h>

Inheritance diagram for NLMISC::EFile:

NLMISC::EStream NLMISC::Exception NLMISC::EFileNotOpened NLMISC::EReadError NLMISC::ERenameError NLMISC::EWriteError

Detailed Description

File Exception.
Author:
Lionel Berenguier

Nevrax France

Date:
2000

Definition at line 43 of file file.h.

Public Member Functions

 EFile (const std::string &text, bool)
 EFile (const std::string &filename)
 EFile ()
virtual const char * what () const throw ()

Data Fields

std::string StreamName

Protected Attributes

std::string _Reason


Constructor & Destructor Documentation

NLMISC::EFile::EFile  )  [inline]
 

Definition at line 46 of file file.h.

References file.

00046 : EStream( "Unknown file error" ) {}

NLMISC::EFile::EFile const std::string &  filename  )  [inline]
 

Definition at line 47 of file file.h.

References file, and in.

00047 : EStream( "Unknown file error in '"+filename+"'" ) {}

NLMISC::EFile::EFile const std::string &  text,
bool 
[inline]
 

Definition at line 48 of file file.h.

00048 : EStream( text ) {}


Member Function Documentation

const char * NLMISC::Exception::what  )  const throw () [virtual, inherited]
 

Reimplemented in NL3D::EBadBind.

Definition at line 672 of file common.cpp.

00673 {
00674         return _Reason.c_str();
00675 }


Field Documentation

std::string NLMISC::Exception::_Reason [protected, inherited]
 

Definition at line 244 of file common.h.

Referenced by NLMISC::Exception::Exception().

std::string NLMISC::EStream::StreamName [inherited]
 

Definition at line 85 of file stream.h.

Referenced by NLMISC::EStream::EStream().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 13:43:48 2004 for NeL by doxygen 1.3.6