|
Peano
|
#include <STDVectorStackOverSmartPointers.h>
Public Member Functions | |
| int | size () const |
| T * | set (int index, const T &value) |
| Set an entry. | |
| const T & | get (int index) const |
| T & | get (int index) |
| std::string | toString () const |
Protected Member Functions | |
| PushBlockStackView (int numberOfElements, peano4::stacks::STDVectorStackOverSmartPointers< T > *parentStack) | |
| Constructor. | |
Protected Attributes | |
| peano4::stacks::STDVectorStackOverSmartPointers< T > * | _parentStack |
| const int | _size |
| const int | _baseElement |
Friends | |
| class | peano4::stacks::STDVectorStackOverSmartPointers< T > |
Definition at line 263 of file STDVectorStackOverSmartPointers.h.
|
protected |
Constructor.
We add a whole set of elements to the container
Definition at line 277 of file STDVectorStackOverSmartPointers.h.
References _baseElement, peano4::stacks::STDVectorStackOverSmartPointers< T >::_data, _parentStack, _size, and size().

| T & peano4::stacks::STDVectorStackOverSmartPointers< T >::PushBlockStackView::get | ( | int | index | ) |
Definition at line 308 of file STDVectorStackOverSmartPointers.h.
References _baseElement, _parentStack, _size, and assertion2.
| const T & peano4::stacks::STDVectorStackOverSmartPointers< T >::PushBlockStackView::get | ( | int | index | ) | const |
Definition at line 302 of file STDVectorStackOverSmartPointers.h.
References _baseElement, _parentStack, _size, and assertion2.
| T * peano4::stacks::STDVectorStackOverSmartPointers< T >::PushBlockStackView::set | ( | int | index, |
| const T & | value ) |
Set an entry.
But in Peano's context, we only need the move semantics logically, as we only migrate stuff over stacks. Therefore, I tried to play around with move semantics, but this always broke the code. So I thought I'd better stop doing this and use plain old copies here.
Definition at line 295 of file STDVectorStackOverSmartPointers.h.
References _baseElement, _parentStack, _size, and assertion2.
| int peano4::stacks::STDVectorStackOverSmartPointers< T >::PushBlockStackView::size | ( | ) | const |
Definition at line 283 of file STDVectorStackOverSmartPointers.h.
References _size.
Referenced by PushBlockStackView().

| std::string peano4::stacks::STDVectorStackOverSmartPointers< T >::PushBlockStackView::toString | ( | ) | const |
Definition at line 314 of file STDVectorStackOverSmartPointers.h.
References _baseElement, and _size.
|
friend |
Definition at line 256 of file STDVectorStackOverSmartPointers.h.
References peano4::stacks::STDVectorStackOverSmartPointers< T >::PopBlockStackView::size().
|
protected |
Definition at line 270 of file STDVectorStackOverSmartPointers.h.
Referenced by get(), get(), PushBlockStackView(), set(), and toString().
|
protected |
Definition at line 267 of file STDVectorStackOverSmartPointers.h.
Referenced by get(), get(), PushBlockStackView(), and set().
|
protected |
Definition at line 269 of file STDVectorStackOverSmartPointers.h.
Referenced by get(), get(), PushBlockStackView(), set(), size(), and toString().