|
Peano
|
#include <STDVectorStack.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 size, int base, peano4::stacks::STDVectorStack< T > *stack) | |
| Constructor. | |
Protected Attributes | |
| const int | _size |
| const int | _baseElement |
| peano4::stacks::STDVectorStack< T > * | _stack |
Friends | |
| class | peano4::stacks::STDVectorStack< T > |
| Parent is friend. | |
Definition at line 217 of file STDVectorStack.h.
|
protected |
Constructor.
Definition at line 227 of file STDVectorStack.h.
References _baseElement, _size, _stack, and size().

| T & peano4::stacks::STDVectorStack< T >::PushBlockStackView::get | ( | int | index | ) |
Definition at line 265 of file STDVectorStack.h.
References _baseElement, _size, _stack, and assertion2.
| const T & peano4::stacks::STDVectorStack< T >::PushBlockStackView::get | ( | int | index | ) | const |
Definition at line 259 of file STDVectorStack.h.
References _baseElement, _size, _stack, and assertion2.
| T * peano4::stacks::STDVectorStack< 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 252 of file STDVectorStack.h.
References _baseElement, _size, _stack, and assertion2.
| int peano4::stacks::STDVectorStack< T >::PushBlockStackView::size | ( | ) | const |
Definition at line 238 of file STDVectorStack.h.
References _size.
Referenced by PushBlockStackView().

| std::string peano4::stacks::STDVectorStack< T >::PushBlockStackView::toString | ( | ) | const |
Definition at line 271 of file STDVectorStack.h.
References _baseElement, and _size.
|
friend |
Parent is friend.
Definition at line 208 of file STDVectorStack.h.
References _baseElement, and _size.
|
protected |
Definition at line 234 of file STDVectorStack.h.
Referenced by get(), get(), peano4::stacks::STDVectorStack< T >, PushBlockStackView(), set(), and toString().
|
protected |
Definition at line 233 of file STDVectorStack.h.
Referenced by get(), get(), peano4::stacks::STDVectorStack< T >, PushBlockStackView(), set(), size(), and toString().
|
protected |
Definition at line 235 of file STDVectorStack.h.
Referenced by get(), get(), PushBlockStackView(), and set().