This is a linear (one-dimensional) static container. This container statisfies the RandomAccessContainer concepts of the Standard Template Library (STL).
More...
|
| size_type | size () const |
| | Returns the number of elements in the block. More...
|
| |
| size_type | max_size () const |
| | Returns the largest possible block. More...
|
| |
| bool | empty () const |
| | Returns true if the block is empty. (Thus size == 0) More...
|
| |
| void | swap (block &x) |
| | Swaps data with another block. More...
|
| |
|
| iterator | begin () |
| | Returns a read/write iterator that points to the first element in the block. Iteration is done in ordinary element order. More...
|
| |
| const_iterator | begin () const |
| | Returns a read-only (constant) iterator that points to the first element in the block. Iteration is done in ordinary element order. More...
|
| |
| iterator | end () |
| | Returns a read/write iterator that points one past the last element in the block. Iteration is done in ordinary element order. More...
|
| |
| const_iterator | end () const |
| | Returns a read-only (constant) iterator that points one past the last element in the block. Iteration is done in ordinary element order. More...
|
| |
| reverse_iterator | rbegin () |
| | Returns a read/write reverse iterator that points to the last element in the block. Iteration is done in reverse element order. More...
|
| |
| const_reverse_iterator | rbegin () const |
| | Returns a read-only (constant) reverse iterator that points to the last element in the block. Iteration is done in reverse element order. More...
|
| |
| reverse_iterator | rend () |
| | Returns a read/write reverse iterator that points to one before the first element in the block. Iteration is done in reverse element order. More...
|
| |
| const_reverse_iterator | rend () const |
| | Returns a read-only (constant) reverse iterator that points to one before the first element in the block. Iteration is done in reverse element order. More...
|
| |
| iterator_range | begin (const slip::Range< int > &range) |
| | Returns a read/write iterator_range that points the first element within the Range. Iteration is done in ordinary element order according to the Range. More...
|
| |
| const_iterator_range | begin (const slip::Range< int > &range) const |
| | Returns a read-only (constant) iterator_range that points the first element within the Range. Iteration is done in ordinary element order according to the Range. More...
|
| |
| iterator_range | end (const slip::Range< int > &range) |
| | Returns a read/write iterator_range that points one past the last element in the block. Iteration is done in ordinary element order according to the Range. More...
|
| |
| const_iterator_range | end (const slip::Range< int > &range) const |
| | Returns a read-only (constant) iterator_range that points one past the last element in the block. Iteration is done in ordinary element order according to the Range. More...
|
| |
| reverse_iterator_range | rbegin (const slip::Range< int > &range) |
| | Returns a read/write reverse_iterator_range that points the end element within the Range. Iteration is done in reverse element order according to the Range. More...
|
| |
| const_reverse_iterator_range | rbegin (const slip::Range< int > &range) const |
| | Returns a read-only (constant) reverse_iterator_range that points the end element within the Range. Iteration is done in reverse element order according to the Range. More...
|
| |
| reverse_iterator_range | rend (const slip::Range< int > &range) |
| | Returns a read/write reverse_iterator_range that points one previous the first element in the Range. Iteration is done in reverse element order according to the Range. More...
|
| |
| const_reverse_iterator_range | rend (const slip::Range< int > &range) const |
| | Returns a read-only (constant) reverse_iterator_range that points one previous the first element in the Range. Iteration is done in reverse element order according to the Range. More...
|
| |
|
| block< T, N > & | operator= (const block< T, N > &rhs) |
| | Assigns all the element of the block by the block rhs. More...
|
| |
| block< T, N > & | operator= (const T &val) |
| | Assigns all the element of the block by val. More...
|
| |
| void | fill (const T &value) |
| | Fills the container range [begin(),begin()+N) with copies of value. More...
|
| |
| void | fill (const T *value) |
| | Fills the container range [begin(),begin()+N) with a copy of the value array. More...
|
| |
| template<typename InputIterator > |
| void | fill (InputIterator first, InputIterator last) |
| | Fills the container range [begin(),begin()+N) with a copy of the range [first,last) More...
|
| |
|
| reference | operator[] (const size_type n) |
| | Subscript access to the data contained in the block. More...
|
| |
| const_reference | operator[] (const size_type n) const |
| | Subscript access to the data contained in the block. More...
|
| |
| reference | operator() (const size_type n) |
| | Subscript access to the data contained in the block. More...
|
| |
| const_reference | operator() (const size_type n) const |
| | Subscript access to the data contained in the block. More...
|
| |
|
| class | boost::serialization::access |
| |
|
| std::ostream & | operator<< (std::ostream &out, const block< T, N > &b) |
| | Write the block to an ouput stream. More...
|
| |
|
| bool | operator== (const block< T, N > &x, const block< T, N > &y) |
| | Block equality comparison. More...
|
| |
| bool | operator!= (const block< T, N > &x, const block< T, N > &y) |
| | Block inequality comparison. More...
|
| |
| bool | operator< (const block< T, N > &x, const block< T, N > &y) |
| | Less than comparison operator (block ordering relation) More...
|
| |
| bool | operator> (const block< T, N > &x, const block< T, N > &y) |
| | More than comparison operator. More...
|
| |
| bool | operator<= (const block< T, N > &x, const block< T, N > &y) |
| | Less than equal comparison operator. More...
|
| |
| bool | operator>= (const block< T, N > &x, const block< T, N > &y) |
| | More than equal comparison operator. More...
|
| |
template<class T, std::size_t N>
struct slip::block< T, N >
This is a linear (one-dimensional) static container. This container statisfies the RandomAccessContainer concepts of the Standard Template Library (STL).
- Author
- Benoit Tremblais <tremblais_AT_sic.univ-poitiers.fr>
- Version
- 0.0.3
- Date
- 2014/03/15
- Since
- 1.0.0
- Parameters
-
| T | Type of the element in the block |
| N | number of element in the block |
- Examples:
- color_edge_detection.cpp, edge_detection.cpp, and statistics_example.cpp.
Definition at line 94 of file Block.hpp.