SkelGIS  3.0
skelgis::DMatrix_vector< T, R, false > Struct Template Reference

DMatrix_vector class. More...

#include <dmatrix_vector.hpp>

List of all members.

Public Member Functions

 DMatrix_vector ()
 default constructor of DMatrix_vector
 ~DMatrix_vector ()
 destructor of the DMatrix_vector
void push_back (DMatrix< T, R, false > &m)
 push_back method of the DMatrix_vector class
DMatrix_impl< T, R, false > * 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, false > * > 
data
 std::vector to store pointers on DMatrix_impl

Detailed Description

template<class T, int R>
struct skelgis::DMatrix_vector< T, R, false >

DMatrix_vector class.

template of DMatrix_vector of SkelGIS. This is the first specialization of the DMatrix_vector. specialization with line=false a specialization with R=0 is not usefull for DMatrix_vector This object has to be used for ApplyList skeleton.

Template Parameters:
Tis the type of data stored in all DMatrix of the DMatrix_vector
Ris the overlap distance for all DMatrix in DMatrix_vector

Definition at line 86 of file dmatrix_vector.hpp.


Member Function Documentation

template<class T , int R>
void skelgis::DMatrix_vector< T, R, false >::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 136 of file dmatrix_vector.hpp.

template<class T , int R>
DMatrix_impl<T,R,false>* skelgis::DMatrix_vector< T, R, false >::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

Parameters:
nis the index element to access in the DMatrix_vector
Returns:
Returns a pointer to the element at position n in the DMatrix_vector.

Definition at line 122 of file dmatrix_vector.hpp.

template<class T , int R>
void skelgis::DMatrix_vector< T, R, false >::push_back ( DMatrix< T, R, false > &  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.

Parameters:
mis the new DMatrix to add

Definition at line 113 of file dmatrix_vector.hpp.

template<class T , int R>
int skelgis::DMatrix_vector< T, R, false >::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 129 of file dmatrix_vector.hpp.


Member Data Documentation

template<class T , int R>
std::vector<DMatrix_impl<T,R,false>* > skelgis::DMatrix_vector< T, R, false >::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 94 of file dmatrix_vector.hpp.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Defines