SkelGIS
3.0
|
DMatrix_vector class. More...
#include <dmatrix_vector.hpp>
Public Member Functions | |
DMatrix_vector () | |
default constructor of DMatrix_vector | |
~DMatrix_vector () | |
destructor of the DMatrix_vector | |
void | push_back (DMatrix< T, R > &m) |
push_back method of the DMatrix_vector class | |
DMatrix_impl< T, R > * | operator[] (int n) |
operator [] of DMatrix_vector | |
int | size () |
size method of the DMatrix_vector class | |
void | clear () |
clear method of the DMatrix_vector class | |
Protected Attributes | |
std::vector< DMatrix_impl< T, R > * > | data |
std::vector to store pointers on DMatrix_impl |
DMatrix_vector class.
template of DMatrix_vector of SkelGIS. This is the first specialization of the DMatrix_vector. This object has to be used for ApplyList skeleton.
T | is the type of data stored in all DMatrix of the DMatrix_vector |
R | is the overlap distance for all DMatrix in DMatrix_vector |
line | is the parallel distribution used for all Dmatrix in DMatrix_vector |
Definition at line 21 of file dmatrix_vector.hpp.
void skelgis::DMatrix_vector< T, R, line >::clear | ( | ) | [inline] |
clear method of the DMatrix_vector class
Removes all elements from the DMatrix_vector, leaving the container with a size of 0
Definition at line 70 of file dmatrix_vector.hpp.
DMatrix_impl<T,R>* skelgis::DMatrix_vector< T, R, line >::operator[] | ( | int | n | ) | [inline] |
operator [] of DMatrix_vector
Similar to table brackets or to std::vector brackets to access an element of the DMatrix_vector
n | is the index element to access in the DMatrix_vector |
Definition at line 56 of file dmatrix_vector.hpp.
void skelgis::DMatrix_vector< T, R, line >::push_back | ( | DMatrix< T, R > & | m | ) | [inline] |
push_back method of the DMatrix_vector class
This method add a new DMatrix element at the end of the DMatrix_vector. It works as the push_back method of the std::vector object.
m | is the new DMatrix to add |
Definition at line 47 of file dmatrix_vector.hpp.
int skelgis::DMatrix_vector< T, R, line >::size | ( | ) | [inline] |
size method of the DMatrix_vector class
This method returns the size of the DMatrix_vector, in other words the number of elements.
Definition at line 63 of file dmatrix_vector.hpp.
std::vector<DMatrix_impl<T,R>* > skelgis::DMatrix_vector< T, R, line >::data [protected] |
std::vector to store pointers on DMatrix_impl
This is what is actually stored in the DMatrix_vector to hide pointers.
Definition at line 29 of file dmatrix_vector.hpp.