#include <Array.h>
Inheritance diagram for base::Array< X >:

Public Member Functions | |
| virtual | ~Array () |
| virtual void | destroy () |
| Wrapper to delete. | |
| Array< X > * | copy () const |
| Copy (also trunk and reallocate more). | |
| Array< X > * | copy (size_t size) const |
| const X * | begin () const |
| Simplified iterators. | |
| const X * | end () const |
| X * | begin () |
| X * | end () |
| const X & | operator[] (size_t index) const |
| Standard operators. | |
| X & | operator[] (size_t index) |
| size_t | size () const |
| Array< X > * | zero () |
| Set the array to zero. | |
Static Public Member Functions | |
| static Array< X > * | create (size_t size) |
| Creation & destruction. | |
Private Member Functions | |
| Array (size_t size) | |
Private Attributes | |
| X * | last |
| X | first [] |
Constructors and destructors of X are not called.
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Simplified iterators.
|
|
||||||||||
|
|
|
|||||||||
|
Copy (also trunk and reallocate more).
|
|
||||||||||
|
Creation & destruction.
|
|
|||||||||
|
Wrapper to delete. It is virtual in case we have objects that are not deallocated by delete, in which case, the method is overriden. Reimplemented from base::Object. |
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Standard operators.
|
|
|||||||||
|
|
|
|||||||||
|
Set the array to zero.
|
|
|||||
|
|
|
|||||
|
|
1.4.2