#include <CscPoint3dIterable.h>
Classes | |
| struct | iterator |
Public Member Functions | |
| virtual | ~CscPoint3dIterable ()=default |
| virtual size_t | size () const noexcept=0 |
| virtual bool | empty () const noexcept=0 |
| virtual const CscPoint3d & | operator[] (size_t i) const =0 |
| virtual const CscPoint3d & | at (size_t i) const =0 |
| iterator | begin () const |
| iterator | end () const |
Protected Member Functions | |
| CscPoint3dIterable ()=default | |
This class provides a single uniform interface that can wrap both std::vector<CscPoint3d> and std::vector<CscPoint3d*> without copying the underlying data. It is designed for maximum runtime performance: no virtual calls in the hot path (iterator uses index-based access), zero heap allocation, and minimal overhead.
Particularly useful because Conscience APIs might return either value vectors or pointer vectors and we want to be as efficient as possible
|
virtualdefault |
|
protecteddefault |
|
pure virtual |
Implemented in CscPoint3dIterableVector< VectorType >.
|
inline |
|
pure virtualnoexcept |
Implemented in CscPoint3dIterableVector< VectorType >.
|
inline |
|
pure virtual |
Implemented in CscPoint3dIterableVector< VectorType >.
|
pure virtualnoexcept |
Implemented in CscPoint3dIterableVector< VectorType >.