An Array representing a generic Element. More...
#include <unknown.h>
Public Member Functions | |
| AnyArray () | |
| Default constructor. | |
| virtual | ~AnyArray () |
| Destructor. | |
| virtual size_t | size () |
| Get the size of the collection. More... | |
| virtual void | prepare (const size_t &size) |
| Prepare the Array to contain a number of Objects. More... | |
| virtual void | clear () |
| Remove all Objects from the Array. | |
| virtual void | restart () |
| Restart from the beginning of the Array. | |
| virtual Object & | next_object () |
| Get the next Object. More... | |
Public Member Functions inherited from PLY::Array | |
| void | prepare (const Element &elem) |
| Prepare the Array to contain the Objects of an Element. More... | |
| template<class T > | |
| T & | next () |
| Get the next Object as a certain type. More... | |
Public Attributes | |
| Object ** | objects |
| The Objects in the array. | |
| size_t | incr |
| Indicator for the Object to get. | |
|
virtual |
Get the next Object.
Implements PLY::Array.
Reimplemented in PLY::FaceArray, and PLY::VertexArray.
|
virtual |
Prepare the Array to contain a number of Objects.
| size | the number of Objects to prepare for. |
Implements PLY::Array.
|
inlinevirtual |
1.8.4