osgEarth 2.1.1
|
Public Types | |
typedef ElementType & | simple_reference |
typedef ElementType & | reference |
Public Member Functions | |
Reference (int base) | |
Reference (const Reference &rhs) | |
simple_reference | access (int index, Store &store, const int *strides) |
reference | access (int index, Store &store, const int *strides, const int *indexBase) |
Public Attributes | |
const int | _base |
Definition at line 107 of file MultiArray.
typedef ElementType& seamless::Reference< ElementType, Store, 1 >::reference |
Definition at line 114 of file MultiArray.
typedef ElementType& seamless::Reference< ElementType, Store, 1 >::simple_reference |
Definition at line 113 of file MultiArray.
seamless::Reference< ElementType, Store, 1 >::Reference | ( | int | base | ) | [inline] |
Definition at line 110 of file MultiArray.
: _base(base) {}
seamless::Reference< ElementType, Store, 1 >::Reference | ( | const Reference< ElementType, Store, 1 > & | rhs | ) | [inline] |
Definition at line 111 of file MultiArray.
: _base(rhs._base) {}
simple_reference seamless::Reference< ElementType, Store, 1 >::access | ( | int | index, |
Store & | store, | ||
const int * | strides | ||
) | [inline] |
Definition at line 116 of file MultiArray.
{ return store[_base + index * strides[0]]; }
reference seamless::Reference< ElementType, Store, 1 >::access | ( | int | index, |
Store & | store, | ||
const int * | strides, | ||
const int * | indexBase | ||
) | [inline] |
Definition at line 121 of file MultiArray.
{ return store[_base + (index - indexBase[0]) * strides[0]]; }
const int seamless::Reference< ElementType, Store, 1 >::_base |
Definition at line 127 of file MultiArray.