Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
limbo::geometry::container_traits< std::vector< T > > Struct Template Reference

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

#include <Geometry.h>

Public Types

typedef std::vector< 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 Public Member Functions

static void insert (container_type &container, value_type const &v)
 insert value to container
 
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 More...
 

Detailed Description

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

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

Template Parameters
Tdata type

Definition at line 280 of file Geometry.h.

Member Function Documentation

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

a default construct function

Template Parameters
PointCompareTypecomparison type for point, not used here

Definition at line 298 of file Geometry.h.


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