OpenLB 1.7
|
A STL container (as wrapper) for arrays of constant size defined at compile time (class imported from the MRPT project) This code is an adapted version from Boost, modifed for its integration within MRPT (JLBC, Dec/2009) (Renamed array -> CArray to avoid possible potential conflicts). More...
#include <nanoflann.hpp>
Public Types | |
enum | { static_size = N } |
typedef T | value_type |
typedef T * | iterator |
typedef const T * | const_iterator |
typedef T & | reference |
typedef const T & | const_reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
reference | operator[] (size_type i) |
const_reference | operator[] (size_type i) const |
reference | at (size_type i) |
const_reference | at (size_type i) const |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
void | resize (const size_t nElements) |
This method has no effects in this class, but raises an exception if the expected size does not match. | |
void | swap (CArray< T, N > &y) |
const T * | data () const |
T * | data () |
template<typename T2 > | |
CArray< T, N > & | operator= (const CArray< T2, N > &rhs) |
void | assign (const T &value) |
void | assign (const size_t n, const T &value) |
Static Public Member Functions | |
static size_type | size () |
static bool | empty () |
static size_type | max_size () |
Public Attributes | |
T | elems [N] |
A STL container (as wrapper) for arrays of constant size defined at compile time (class imported from the MRPT project) This code is an adapted version from Boost, modifed for its integration within MRPT (JLBC, Dec/2009) (Renamed array -> CArray to avoid possible potential conflicts).
See http://www.josuttis.com/cppcode for details and the latest version. See http://www.boost.org/libs/array for Documentation. for documentation.
(C) Copyright Nicolai M. Josuttis 2001. Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.
29 Jan 2004 - minor fixes (Nico Josuttis) 04 Dec 2003 - update to synch with library TR1 (Alisdair Meredith) 23 Aug 2002 - fix for Non-MSVC compilers combined with MSVC libraries. 05 Aug 2001 - minor update (Nico Josuttis) 20 Jan 2001 - STLport fix (Beman Dawes) 29 Sep 2000 - Initial Revision (Nico Josuttis)
Jan 30, 2004
Definition at line 674 of file nanoflann.hpp.
typedef const T* nanoflann::CArray< T, N >::const_iterator |
Definition at line 682 of file nanoflann.hpp.
typedef const T& nanoflann::CArray< T, N >::const_reference |
Definition at line 684 of file nanoflann.hpp.
typedef std::reverse_iterator<const_iterator> nanoflann::CArray< T, N >::const_reverse_iterator |
Definition at line 705 of file nanoflann.hpp.
typedef std::ptrdiff_t nanoflann::CArray< T, N >::difference_type |
Definition at line 686 of file nanoflann.hpp.
typedef T* nanoflann::CArray< T, N >::iterator |
Definition at line 681 of file nanoflann.hpp.
typedef T& nanoflann::CArray< T, N >::reference |
Definition at line 683 of file nanoflann.hpp.
typedef std::reverse_iterator<iterator> nanoflann::CArray< T, N >::reverse_iterator |
Definition at line 704 of file nanoflann.hpp.
typedef std::size_t nanoflann::CArray< T, N >::size_type |
Definition at line 685 of file nanoflann.hpp.
typedef T nanoflann::CArray< T, N >::value_type |
Definition at line 680 of file nanoflann.hpp.
anonymous enum |
Enumerator | |
---|---|
static_size |
Definition at line 769 of file nanoflann.hpp.
|
inline |
Definition at line 800 of file nanoflann.hpp.
|
inline |
|
inline |
Definition at line 738 of file nanoflann.hpp.
|
inline |
Definition at line 742 of file nanoflann.hpp.
|
inline |
Definition at line 753 of file nanoflann.hpp.
|
inline |
Definition at line 756 of file nanoflann.hpp.
|
inline |
|
inline |
Definition at line 692 of file nanoflann.hpp.
|
inline |
Definition at line 786 of file nanoflann.hpp.
|
inline |
Definition at line 782 of file nanoflann.hpp.
|
inlinestatic |
Definition at line 763 of file nanoflann.hpp.
|
inline |
|
inline |
Definition at line 698 of file nanoflann.hpp.
|
inline |
Definition at line 747 of file nanoflann.hpp.
|
inline |
Definition at line 750 of file nanoflann.hpp.
|
inlinestatic |
Definition at line 766 of file nanoflann.hpp.
|
inline |
Definition at line 790 of file nanoflann.hpp.
References nanoflann::CArray< T, N >::begin(), and nanoflann::CArray< T, N >::end().
|
inline |
Definition at line 731 of file nanoflann.hpp.
|
inline |
Definition at line 734 of file nanoflann.hpp.
|
inline |
Definition at line 718 of file nanoflann.hpp.
|
inline |
Definition at line 721 of file nanoflann.hpp.
|
inline |
Definition at line 724 of file nanoflann.hpp.
|
inline |
Definition at line 727 of file nanoflann.hpp.
|
inline |
This method has no effects in this class, but raises an exception if the expected size does not match.
Definition at line 773 of file nanoflann.hpp.
|
inlinestatic |
Definition at line 760 of file nanoflann.hpp.
|
inline |
Definition at line 778 of file nanoflann.hpp.
References nanoflann::CArray< T, N >::begin().
T nanoflann::CArray< T, N >::elems[N] |
Definition at line 676 of file nanoflann.hpp.