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< ContainerType > Class Template Reference

type traits for containers such as vector, list, multiset More...

#include <Geometry.h>

Public Types

typedef ContainerType 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, value_type const &v)
 erase value from 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 &comp)
 a default construct function is necessary, because std::set needs a compare function, but vector does not
 

Detailed Description

template<typename ContainerType>
class limbo::geometry::container_traits< ContainerType >

type traits for containers such as vector, list, multiset

Template Parameters
ContainerTypecontainer type

Definition at line 254 of file Geometry.h.


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