|
csVector Class ReferencecsVector is an abstract class which can hold an unlimited array of unspecified (void*) data. More...
Inheritance diagram for csVector:
Detailed DescriptioncsVector is an abstract class which can hold an unlimited array of unspecified (void*) data.Since this is a basic object, it does not presume anything about its elements, so FreeItem() is effectively a no-op. If you want vector elements to free automatically occupied memory upon vector destruction you should create a derived class which should provide its own FreeItem() method (see csStrVector for a example). Note that FreeItem() returns a boolean value which is the success status. This is used in Delete() and DeleteAll() to decide whenever an element can be really deleted - if the element has a good reason to stay 'sticky' it can return false from FreeItem().
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 |