Inheritance diagram for LocalArray2d:

Definition at line 126 of file LocalArray.H.
STL integration | |
| typedef T | value_type |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef ptrdiff_t | difference_type |
| typedef size_t | size_type |
| typedef pointer | iterator |
| typedef const_pointer | const_iterator |
| typedef std::reverse_iterator< iterator > | reverse_iterator |
| typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | rend () const |
Public Member Functions | |
| LocalArray2d () | |
| LocalArray2d (const T &value) | |
| LocalArray2d (const LocalArray2d< T, Rows, Columns > &array) | |
| ~LocalArray2d () | |
Assignment | |
| LocalArray2d< T, Rows, Columns > & | operator= (const LocalArray2d< T, Rows, Columns > &array) |
| Assign one array to another. | |
| LocalArray2d< T, Rows, Columns > & | operator= (const T &value) |
| Assign a value to all elements of the array. | |
Element access | |
| reference | operator() (const size_type row, const size_type column) |
| const_reference | operator() (const size_type row, const size_type column) const |
Sizes | |
| size_type | size () const |
| size_type | rows () const |
| size_type | columns () const |
Private Attributes | |
| T | m_data [Rows *Columns] |
| typedef T value_type |
| typedef value_type* pointer |
| typedef const value_type* const_pointer |
| typedef value_type& reference |
| typedef const value_type& const_reference |
| typedef ptrdiff_t difference_type |
| typedef size_t size_type |
| typedef const_pointer const_iterator |
| typedef std::reverse_iterator<iterator> reverse_iterator |
| typedef std::reverse_iterator<const_iterator> const_reverse_iterator |
| LocalArray2d | ( | ) | [inline] |
Allocate an array.
Definition at line 129 of file LocalArray.H.
| LocalArray2d | ( | const T & | value | ) | [inline] |
Allocate an array, and initialize each element to a particular value.
| [in] | value | The initial value for each element. |
Definition at line 133 of file LocalArray.H.
References m_data.
| LocalArray2d | ( | const LocalArray2d< T, Rows, Columns > & | array | ) | [inline] |
| ~LocalArray2d | ( | ) | [inline] |
Definition at line 137 of file LocalArray.H.
| LocalArray2d<T, Rows, Columns>& operator= | ( | const LocalArray2d< T, Rows, Columns > & | array | ) | [inline] |
Assign one array to another.
| [in] | array | The array to be assigned from. |
Definition at line 144 of file LocalArray.H.
References m_data.
| LocalArray2d<T, Rows, Columns>& operator= | ( | const T & | value | ) | [inline] |
Assign a value to all elements of the array.
| [in] | value | The value to be assigned. |
Definition at line 149 of file LocalArray.H.
References m_data.
| iterator begin | ( | ) | [inline] |
| iterator end | ( | ) | [inline] |
| const_iterator begin | ( | ) | const [inline] |
| const_iterator end | ( | ) | const [inline] |
| reverse_iterator rbegin | ( | ) | [inline] |
| reverse_iterator rend | ( | ) | [inline] |
| const_reverse_iterator rbegin | ( | ) | const [inline] |
| const_reverse_iterator rend | ( | ) | const [inline] |
Reimplemented in LocalTorus.
Definition at line 186 of file LocalArray.H.
References assert_range, and m_data.
| const_reference operator() | ( | const size_type | row, | |
| const size_type | column | |||
| ) | const [inline] |
Reimplemented in LocalTorus.
Definition at line 188 of file LocalArray.H.
References assert_range, and m_data.
| size_type size | ( | ) | const [inline] |
Definition at line 194 of file LocalArray.H.
| size_type rows | ( | ) | const [inline] |
| size_type columns | ( | ) | const [inline] |
T m_data[Rows *Columns] [private] |
Definition at line 200 of file LocalArray.H.
Referenced by begin(), end(), LocalArray2d(), operator()(), and operator=().
1.5.1