00001 /* 00002 * entHelpers.h 00003 * 00004 * Created on: Jan 24, 2012 00005 * Author: sushil 00006 */ 00007 00008 #ifndef ENTHELPERS_H_ 00009 #define ENTHELPERS_H_ 00010 00011 #include <ent.h> 00012 00013 namespace FastEcslent { 00014 00015 struct EntityLessThan { // for entity map (dictionary) in (selectionMgr) 00016 inline bool operator() (const Identity& lhs, const Identity& rhs) const { 00017 return lhs.id < rhs.id; 00018 } 00019 }; 00020 } 00021 00022 #endif /* ENTHELPERS_H_ */