#include <nobjvec.h>
Inheritance diagram for csNamedObjVector:
Public Methods | |
csNamedObjVector (int ilimit=8, int ithreshold=16) | |
Constructor just passes control to csVector's. | |
csObject* | FindByName (const char *iName) const |
Find an item in this vector by name and returns it (or NULL if not found). | |
virtual int | Compare (csSome Item1, csSome Item2, int Mode) const |
Compare two objects by their names. | |
virtual int | CompareKey (csSome Item, csConstSome Key, int Mode) const |
Compare object's name with a string. | |
csObject* | Get (int idx) const |
Override Get() to avoid casting to csObject. |
All csVector methods should work with this class: Find, FindKey, QuickSort, FindSortedKey and so on.