16 #if !defined(KRATOS_POINTER_VECTOR_MAP_ITERATOR_H_INCLUDED )
17 #define KRATOS_POINTER_VECTOR_MAP_ITERATOR_H_INCLUDED
27 #include <boost/iterator/iterator_adaptor.hpp>
59 template<
class TIteratorType,
class TDataType>
61 :
public boost::iterator_adaptor<PointerVectorMapIterator<TIteratorType, TDataType>,
62 TIteratorType, TDataType>
74 typedef typename TIteratorType::value_type::first_type
key_type;
102 return this->base()->first;
148 typename BaseType::reference dereference()
const
150 # if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
151 return const_cast<BaseType::reference
>(*this->base()->second);
153 return *(this->base()->second);
Short class definition.
Definition: pointer_vector_map_iterator.h:63
KRATOS_CLASS_POINTER_DEFINITION(PointerVectorMapIterator)
Pointer definition of PointerVectorMapIterator.
TIteratorType::value_type::first_type key_type
Definition: pointer_vector_map_iterator.h:74
PointerVectorMapIterator()
Default constructor.
Definition: pointer_vector_map_iterator.h:81
boost::iterator_adaptor< PointerVectorMapIterator, TIteratorType, TDataType > BaseType
Definition: pointer_vector_map_iterator.h:72
key_type key()
Definition: pointer_vector_map_iterator.h:100
PointerVectorMapIterator(TIteratorType NewIterator)
Definition: pointer_vector_map_iterator.h:83
friend class boost::iterator_core_access
Definition: pointer_vector_map_iterator.h:129
PointerVectorMapIterator(PointerVectorMapIterator const &NewIterator)
Definition: pointer_vector_map_iterator.h:85
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21