#include <vector.h>
Detailed Description
The introspector_vector class is used to represent an ordered list of introspector::pointer values. It has O(1) append times.
Definition at line 28 of file vector.h.
Constructor & Destructor Documentation
Member Function Documentation
The back method is used to obtain the item on the back of the vector.
Definition at line 71 of file vector.h.
The clear method is used to discard all items in the vector.
The empty method is used to determine whether or not the vector is empty.
Definition at line 60 of file vector.h.
The grow method is used to ensure the is sufficient allocated space.
- Parameters:
-
| nitems | The number of items to grow by. |
Definition at line 142 of file vector.h.
The grow_slow method is used to allocate more space, in the case where the current allocation has grown too small.
- Parameters:
-
| nitems | The number of items to grow by. |
The pop_back method is used to discard the last item from this vector.
The push_back method is used to append another item to the end of the vector.
- Parameters:
-
| ip | The item to be appended. |
Definition at line 85 of file vector.h.
The push_back method is used to append the contents of another vector to the end of this vector.
- Parameters:
-
| il | The introspector vector to be appended. |
The size method is used to obtain the number of items in the vector.
Definition at line 65 of file vector.h.
Field Documentation
The item instance variable is used to remember the address of the base of an allocated array of introspector pointers.
Definition at line 123 of file vector.h.
The length instance variable is used to remember the number of used entries in the allocated item array.
Definition at line 111 of file vector.h.
The maximum instance variable is used to remember the size of the allocated item array.
Definition at line 117 of file vector.h.
The documentation for this class was generated from the following file:
- /home/archives/aegis/branch.4/branch.25/delta28933.505/libaegis/introspector/vector.h