From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a03777.html | 157 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 docs/doxygen/nel/a03777.html (limited to 'docs/doxygen/nel/a03777.html') diff --git a/docs/doxygen/nel/a03777.html b/docs/doxygen/nel/a03777.html new file mode 100644 index 00000000..1261f0d3 --- /dev/null +++ b/docs/doxygen/nel/a03777.html @@ -0,0 +1,157 @@ + + +NeL: NLMISC::EBadType struct Reference + + + +
+

NLMISC::EBadType Struct Reference

#include <config_file.h> +

+

Inheritance diagram for NLMISC::EBadType: +

+ +NLMISC::EConfigFile +NLMISC::Exception + + + + + + + + + + + +

Public Member Functions

 EBadType (const std::string &varName, int varType, int wantedType)
virtual const char * what () const throw ()

Protected Attributes

std::string _Reason
+

Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
NLMISC::EBadType::EBadType const std::string &  varName,
int  varType,
int  wantedType
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 295 of file config_file.h. +

+References nlinfo, and NLMISC::smprintf(). +

+

00296         {
+00297                 static char str[NLMISC::MaxCStringSize];
+00298                 smprintf (str, NLMISC::MaxCStringSize, "Bad variable type, variable \"%s\" is a %s and not a %s", varName.c_str (), CConfigFile::CVar::TypeName[varType], CConfigFile::CVar::TypeName[wantedType]);
+00299                 _Reason = str;
+00300                 nlinfo("CF: Exception will be launched: %s", _Reason.c_str());
+00301         }
+
+


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().

+


The documentation for this struct was generated from the following file: +
Generated on Tue Mar 16 13:43:36 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1