#include <multiArray.hh>
Classes | |
class | Scanner |
Public Member Functions | |
MultiArray (bool commutable=false) | |
T & | operator[] (const uint i[1]) |
const T & | operator[] (const uint i[1]) const |
T & | operator[] (const uint i) |
const T & | operator[] (const uint i) const |
Scanner * | scan () const |
Scanner over the entrances. | |
bool | isElm (const uint i[1]) const |
bool | isElm (const uint i) const |
void | erase (const uint i[1]) |
void | erase (uint i) |
void | erase_last () |
uint | size () const |
Number of entrances. | |
void | clear () |
Clears the array. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Container typename for multidimensional Array which is based on std::map
First level, 1-dimensional array
Definition at line 445 of file multiArray.hh.
|
inline |
Constructor
Commutability for one-dimensional array not important, its here for the recursive definition.
Definition at line 481 of file multiArray.hh.
|
inline |
Definition at line 485 of file multiArray.hh.
|
inline |
Clears the array.
Definition at line 534 of file multiArray.hh.
|
inline |
Erase entry i
Definition at line 520 of file multiArray.hh.
|
inline |
Definition at line 521 of file multiArray.hh.
|
inline |
Definition at line 525 of file multiArray.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 557 of file multiArray.hh.
bool concepts::MultiArray< 1, T >::isElm | ( | const uint | i | ) | const |
Definition at line 551 of file multiArray.hh.
|
inline |
Checks if the element exists
Definition at line 516 of file multiArray.hh.
|
inline |
Index operator for the container.
If an item is not existing, it is created, inserted into the array and then returned.
Definition at line 506 of file multiArray.hh.
const T & concepts::MultiArray< 1, T >::operator[] | ( | const uint | i | ) | const |
Index operator for the container.
Definition at line 543 of file multiArray.hh.
|
inline |
Index operator for the container.
If an item is not existing, it is created, inserted into the array and then returned.
Definition at line 493 of file multiArray.hh.
|
inline |
Index operator for the container.
Definition at line 498 of file multiArray.hh.
|
inline |
Scanner over the entrances.
Definition at line 513 of file multiArray.hh.
|
inline |
Number of entrances.
Definition at line 531 of file multiArray.hh.