|
Main Page Class Hierarchy Compound List File List Compound Members
csNamedObjVector Class ReferencecsNamedObjVector is a version of csObjVector that assumes all its components are csObject's which can be examined by name etc.
More...
#include <nobjvec.h>
Inheritance diagram for csNamedObjVector:
List of all members.
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.
|
Detailed Description
csNamedObjVector is a version of csObjVector that assumes all its components are csObject's which can be examined by name etc.
All csVector methods should work with this class: Find, FindKey, QuickSort, FindSortedKey and so on.
The documentation for this class was generated from the following file:
Generated for Crystal Space by
doxygen
1.2.5 written by
Dimitri van Heesch,
©1997-2000
|