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/a03074.html | 134 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 docs/doxygen/nel/a03074.html (limited to 'docs/doxygen/nel/a03074.html') diff --git a/docs/doxygen/nel/a03074.html b/docs/doxygen/nel/a03074.html new file mode 100644 index 00000000..25572a95 --- /dev/null +++ b/docs/doxygen/nel/a03074.html @@ -0,0 +1,134 @@ + + +NeL: NLMISC::CPath::CMCFileComp class Reference + + + +
+

NLMISC::CPath::CMCFileComp Class Reference

+ + + + + + +

Public Member Functions

bool operator() (const CMCFileEntry &fe, const char *rhs)
sint specialCompare (const CMCFileEntry &fe, const char *rhs)
+

Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLMISC::CPath::CMCFileComp::operator() const CMCFileEntry fe,
const char *  rhs
[inline]
+
+ + + + + +
+   + + +

+ +

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

+References specialCompare(). +

+

00296                 {
+00297                         return specialCompare(fe, rhs) < 0;
+00298                 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
sint NLMISC::CPath::CMCFileComp::specialCompare const CMCFileEntry fe,
const char *  rhs
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 277 of file path.h. +

+References NLMISC::CPath::CMCFileEntry::Name, sint, and uint8. +

+Referenced by NLMISC::CPath::MCfind(), and operator()(). +

+

00278                 {
+00279                         char *lhs = fe.Name;
+00280                         uint8 lchar, rchar;
+00281                         while (*lhs != '\0' && *rhs != '\0')
+00282                         {
+00283                                 // lower case compare because name is in normal case
+00284                                 lchar = ::tolower(*lhs);
+00285                                 rchar = *rhs;
+00286                                 if (lchar != rchar) return ((sint)lchar) - ((sint)rchar);
+00287                                 ++lhs;
+00288                                 ++rhs;
+00289                         }
+00290                         if (*lhs != 0) return 1;
+00291                         if (*rhs != 0) return -1;
+00292                         return 0;
+00293                 }
+
+


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