Public Member Functions | |
VertexView () | |
VertexView (int **base, int offset, int length) | |
int | hashCode () const |
bool | operator== (const VertexView &other) const |
std::string | toString () const |
Private Attributes | |
int ** | base_ |
int | offset_ |
int | length_ |
Definition at line 47 of file SundanceBasicVertexView.hpp.
Sundance::VertexView::VertexView | ( | ) | [inline] |
empty ctor, needed for storing VertexViews in Teuchos hashtables
Definition at line 51 of file SundanceBasicVertexView.hpp.
Sundance::VertexView::VertexView | ( | int ** | base, | |
int | offset, | |||
int | length | |||
) | [inline] |
Construct a view into an array
bese | pointer to the start of the master data array. By using double indirection, the master array can be resized or relocated and VertexViews can remain valid. | |
offset | the index of the vertex subarray being viewed. | |
length | the number of vertices included in this view. |
Definition at line 59 of file SundanceBasicVertexView.hpp.
int VertexView::hashCode | ( | ) | const |
Return a hash code for the vertex set.
Definition at line 25 of file SundanceBasicVertexView.cpp.
bool Sundance::VertexView::operator== | ( | const VertexView & | other | ) | const [inline] |
Test equality between two vertex sets. Two vertex sets are equal when their vertices are identical.
Definition at line 89 of file SundanceBasicVertexView.hpp.
string VertexView::toString | ( | ) | const |
Write to a std::string
Definition at line 9 of file SundanceBasicVertexView.cpp.
int** Sundance::VertexView::base_ [private] |
Definition at line 80 of file SundanceBasicVertexView.hpp.
Referenced by hashCode(), operator==(), and toString().
int Sundance::VertexView::length_ [private] |
Definition at line 82 of file SundanceBasicVertexView.hpp.
Referenced by hashCode(), operator==(), and toString().
int Sundance::VertexView::offset_ [private] |
Definition at line 81 of file SundanceBasicVertexView.hpp.
Referenced by hashCode(), operator==(), and toString().