Limbo 3.5.4
Loading...
Searching...
No Matches
limbo::geometry::container_traits< std::list< T > > Struct Template Reference

partial specialization of limbo::geometry::container_traits for commonly used data structures like std::list More...

#include <Geometry.h>

typedef std::list< T > container_type
typedef container_type::value_type value_type
typedef container_type::const_iterator const_iterator_type
typedef container_type::iterator iterator_type
static void insert (container_type &container, value_type const &v)
 endnowarn
static void insert (container_type &container, iterator_type it, value_type const &v)
 insert value to container with hint of iterator
static void erase (container_type &container, iterator_type it)
 erase an element from container with iterator
template<typename PointCompareType>
static container_type construct (PointCompareType const &)
 a default construct function

Detailed Description

template<typename T>
struct limbo::geometry::container_traits< std::list< T > >

partial specialization of limbo::geometry::container_traits for commonly used data structures like std::list

Template Parameters
Tdata type

Definition at line 331 of file Geometry.h.

Member Typedef Documentation

◆ const_iterator_type

template<typename T>
typedef container_type::const_iterator limbo::geometry::container_traits< std::list< T > >::const_iterator_type

Definition at line 336 of file Geometry.h.

◆ container_type

template<typename T>
typedef std::list<T> limbo::geometry::container_traits< std::list< T > >::container_type

Definition at line 334 of file Geometry.h.

◆ iterator_type

template<typename T>
typedef container_type::iterator limbo::geometry::container_traits< std::list< T > >::iterator_type

Definition at line 337 of file Geometry.h.

◆ value_type

template<typename T>
typedef container_type::value_type limbo::geometry::container_traits< std::list< T > >::value_type

Definition at line 335 of file Geometry.h.

Member Function Documentation

◆ construct()

template<typename T>
template<typename PointCompareType>
container_type limbo::geometry::container_traits< std::list< T > >::construct ( PointCompareType const & )
inlinestatic

a default construct function

Template Parameters
PointCompareTypecomparison type for point, not used here

Definition at line 349 of file Geometry.h.

◆ erase()

template<typename T>
void limbo::geometry::container_traits< std::list< T > >::erase ( container_type & container,
iterator_type it )
inlinestatic

erase an element from container with iterator

Definition at line 345 of file Geometry.h.

◆ insert() [1/2]

template<typename T>
void limbo::geometry::container_traits< std::list< T > >::insert ( container_type & container,
iterator_type it,
value_type const & v )
inlinestatic

insert value to container with hint of iterator

Definition at line 343 of file Geometry.h.

◆ insert() [2/2]

template<typename T>
void limbo::geometry::container_traits< std::list< T > >::insert ( container_type & container,
value_type const & v )
inlinestatic

endnowarn

insert value to container

Definition at line 341 of file Geometry.h.


The documentation for this struct was generated from the following file: