SkelGIS
3.0
|
DPMap_vector class. More...
#include <dpmap_vector.hpp>
Public Member Functions | |
DPMap_vector () | |
default constructor of DMatrix_vector | |
~DPMap_vector () | |
destructor of the DMatrix_vector | |
void | push_back (DPMapType &dp) |
push_back method of the DPMap_vector class | |
DPMapType | operator[] (int n) |
operator [] of DPMap_vector | |
DPMapType::impl_type * | getImpl (unsigned int i) |
get impl of dpmap of DPMap_vector | |
int | size () |
size method of the DPMap_vector class | |
void | clear () |
clear method of the DPMap_vector class | |
Protected Attributes | |
std::vector< typename DPMapType::impl_type * > | data |
std::vector to store pointers on DPMap_Nodes_impl or DPMap_Edges_impl |
DPMap_vector class.
Definition at line 16 of file dpmap_vector.hpp.
void skelgis::DPMap_vector< DPMapType >::clear | ( | ) | [inline] |
clear method of the DPMap_vector class
Removes all elements from the DPMap_vector, leaving the container with a size of 0
Definition at line 74 of file dpmap_vector.hpp.
DPMapType::impl_type* skelgis::DPMap_vector< DPMapType >::getImpl | ( | unsigned int | i | ) | [inline] |
get impl of dpmap of DPMap_vector
directly get what is in the DPMap_vector
i | is the index to get |
Definition at line 60 of file dpmap_vector.hpp.
DPMapType skelgis::DPMap_vector< DPMapType >::operator[] | ( | int | n | ) | [inline] |
operator [] of DPMap_vector
Similar to table brackets or to std::vector brackets to access an element of the DPMap_vector
n | is the index element to access in the DPMap_vector |
Definition at line 51 of file dpmap_vector.hpp.
void skelgis::DPMap_vector< DPMapType >::push_back | ( | DPMapType & | dp | ) | [inline] |
push_back method of the DPMap_vector class
This method add a new DPMap element at the end of the DPMap_vector. It works as the push_back method of the std::vector object.
dp | is the new DPMap to add |
Definition at line 42 of file dpmap_vector.hpp.
int skelgis::DPMap_vector< DPMapType >::size | ( | ) | [inline] |
size method of the DPMap_vector class
This method returns the size of the DPMap_vector, in other words the number of elements.
Definition at line 67 of file dpmap_vector.hpp.
std::vector<typename DPMapType::impl_type *> skelgis::DPMap_vector< DPMapType >::data [protected] |
std::vector to store pointers on DPMap_Nodes_impl or DPMap_Edges_impl
This is what is actually stored in the DPMap_vector to hide pointers.
Definition at line 24 of file dpmap_vector.hpp.