osgEarth 2.1.1
Public Types | Public Member Functions | Protected Attributes

seamless::SubArraySimple< ElementType, Store, N > Class Template Reference

Inheritance diagram for seamless::SubArraySimple< ElementType, Store, N >:
Collaboration diagram for seamless::SubArraySimple< ElementType, Store, N >:

List of all members.

Public Types

typedef Reference< ElementType,
Store, N > 
super_type
typedef super_type::reference reference

Public Member Functions

 SubArraySimple (int base, Store &store, const int *strides)
 SubArraySimple (const SubArraySimple &rhs)
reference operator[] (int index)

Protected Attributes

Store & _store
const int * _strides

Detailed Description

template<typename ElementType, typename Store, unsigned N>
class seamless::SubArraySimple< ElementType, Store, N >

Definition at line 33 of file MultiArray.


Member Typedef Documentation

template<typename ElementType , typename Store , unsigned N>
typedef super_type::reference seamless::SubArraySimple< ElementType, Store, N >::reference

Reimplemented from seamless::Reference< ElementType, Store, N >.

Reimplemented in seamless::SubArray< ElementType, Store, N >.

Definition at line 37 of file MultiArray.

template<typename ElementType , typename Store , unsigned N>
typedef Reference<ElementType, Store, N> seamless::SubArraySimple< ElementType, Store, N >::super_type

Reimplemented in seamless::SubArray< ElementType, Store, N >.

Definition at line 36 of file MultiArray.


Constructor & Destructor Documentation

template<typename ElementType , typename Store , unsigned N>
seamless::SubArraySimple< ElementType, Store, N >::SubArraySimple ( int  base,
Store &  store,
const int *  strides 
) [inline]

Definition at line 38 of file MultiArray.

        : super_type(base), _store(store), _strides(strides)
    {
    }
template<typename ElementType , typename Store , unsigned N>
seamless::SubArraySimple< ElementType, Store, N >::SubArraySimple ( const SubArraySimple< ElementType, Store, N > &  rhs) [inline]

Definition at line 131 of file MultiArray.

    : super_type(rhs), _store(rhs._store), _strides(rhs._strides)
{
}

Member Function Documentation

template<typename ElementType , typename Store , unsigned N>
reference seamless::SubArraySimple< ElementType, Store, N >::operator[] ( int  index) [inline]

Reimplemented in seamless::SubArray< ElementType, Store, N >.

Definition at line 45 of file MultiArray.

    {
        return super_type::access(index, _store, _strides);
    }

Here is the call graph for this function:


Member Data Documentation

template<typename ElementType , typename Store , unsigned N>
Store& seamless::SubArraySimple< ElementType, Store, N >::_store [protected]

Definition at line 50 of file MultiArray.

template<typename ElementType , typename Store , unsigned N>
const int* seamless::SubArraySimple< ElementType, Store, N >::_strides [protected]

Definition at line 51 of file MultiArray.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines