memless< type > Struct Template Reference

List of all members.

Public Member Functions

bool operator() (const type &a, const type &b) const


Detailed Description

template<class type>
struct memless< type >

memory comparison

Definition at line 354 of file OSGGeoFunctions.cpp.


Member Function Documentation

template<class type>
bool memless< type >::operator() ( const type &  a,
const type &  b 
) const [inline]

Definition at line 356 of file OSGGeoFunctions.cpp.

References FFATAL.

00357     {
00358         if(a.second && b.second)
00359         {
00360             if(a.second == b.second)
00361             {
00362                 return (memcmp(a.first, b.first, a.second) < 0) ? true : false;
00363             }
00364             else
00365             {
00366                 FFATAL(("a.memSize != b.memSize in memless::operator()\n"));
00367             }
00368         }
00369         else
00370         {
00371             FFATAL(("memSize is NULL in memless::operator()\n"));
00372         }
00373         return false;
00374     }


The documentation for this struct was generated from the following file:

Generated on Mon Mar 17 12:02:59 2008 for OpenSG by  doxygen 1.5.5