Searched defs:hashnameset (Results 1 – 5 of 5) sorted by relevance
/dports/games/tesseract-data/tesseract/src/shared/ |
H A D | tools.h | 1028 template<class T> struct hashnameset : hashbase<hashnameset<T>, T, const char *, T> struct 1030 typedef hashbase<hashnameset<T>, T, const char *, T> basetype; argument 1032 hashnameset(int size = basetype::DEFAULTSIZE) : basetype(size) {} in basetype() argument 1034 template<class U> static inline const char *getkey(const U &elem) { return elem.name; } in getkey() 1035 template<class U> static inline const char *getkey(U *elem) { return elem->name; } in getkey() 1036 static inline T &getdata(T &elem) { return elem; } in getdata() 1037 template<class K> static inline void setkey(T &elem, const K &key) {} in setkey()
|
/dports/games/tesseract/tesseract/src/shared/ |
H A D | tools.h | 1028 template<class T> struct hashnameset : hashbase<hashnameset<T>, T, const char *, T> struct 1030 typedef hashbase<hashnameset<T>, T, const char *, T> basetype; argument 1032 hashnameset(int size = basetype::DEFAULTSIZE) : basetype(size) {} in basetype() argument 1034 template<class U> static inline const char *getkey(const U &elem) { return elem.name; } in getkey() 1035 template<class U> static inline const char *getkey(U *elem) { return elem->name; } in getkey() 1036 static inline T &getdata(T &elem) { return elem; } in getdata() 1037 template<class K> static inline void setkey(T &elem, const K &key) {} in setkey()
|
/dports/games/sauerbraten/sauerbraten/src/shared/ |
H A D | tools.h | 1023 template<class T> struct hashnameset : hashbase<hashnameset<T>, T, const char *, T> struct 1025 typedef hashbase<hashnameset<T>, T, const char *, T> basetype; argument 1027 hashnameset(int size = basetype::DEFAULTSIZE) : basetype(size) {} in basetype() argument 1029 template<class U> static inline const char *getkey(const U &elem) { return elem.name; } in getkey() 1030 template<class U> static inline const char *getkey(U *elem) { return elem->name; } in getkey() 1031 static inline T &getdata(T &elem) { return elem; } in getdata() 1032 template<class K> static inline void setkey(T &elem, const K &key) {} in setkey() 1035 T &add(const V &elem) in add()
|
/dports/games/redeclipse16/base-1.6.0/src/shared/ |
H A D | tools.h | 1183 template<class T> struct hashnameset : hashbase<hashnameset<T>, T, const char *, T> struct 1185 typedef hashbase<hashnameset<T>, T, const char *, T> basetype; argument 1187 hashnameset(int size = basetype::DEFAULTSIZE) : basetype(size) {} in basetype() argument 1189 template<class U> static inline const char *getkey(const U &elem) { return elem.name; } in getkey() 1190 template<class U> static inline const char *getkey(U *elem) { return elem->name; } in getkey() 1191 static inline T &getdata(T &elem) { return elem; } in getdata() 1192 template<class K> static inline void setkey(T &elem, const K &key) {} in setkey() 1195 T &add(const V &elem) in add()
|
/dports/games/redeclipse/base-2.0.0/src/shared/ |
H A D | tools.h | 1383 template<class T> struct hashnameset : hashbase<hashnameset<T>, T, const char *, T> struct 1385 typedef hashbase<hashnameset<T>, T, const char *, T> basetype; argument 1387 hashnameset(int size = basetype::DEFAULTSIZE) : basetype(size) {} in basetype() argument 1389 template<class U> static inline const char *getkey(const U &elem) { return elem.name; } in getkey() 1390 template<class U> static inline const char *getkey(U *elem) { return elem->name; } in getkey() 1391 static inline T &getdata(T &elem) { return elem; } in getdata() 1392 template<class K> static inline void setkey(T &elem, const K &key) {} in setkey() 1395 T &add(const V &elem) in add()
|