ViennaGrid - The Vienna Grid Library  2.1.0
Data Structures | Namespaces | Functions
viennagrid/storage/container.hpp File Reference

Defines the basic building blocks of containers in ViennaGrid. More...

#include <vector>
#include <deque>
#include <list>
#include <set>
#include <algorithm>
#include "viennagrid/meta/utils.hpp"
#include "viennagrid/storage/forwards.hpp"
#include "viennagrid/storage/handle.hpp"
#include "viennagrid/storage/static_array.hpp"

Go to the source code of this file.

Data Structures

class  const_iterator< base_iterator, base_const_iterator, id_handle_tag >
class  const_iterator< base_iterator, base_const_iterator, iterator_handle_tag >
class  const_iterator< base_iterator, base_const_iterator, no_handle_tag >
class  const_iterator< base_iterator, base_const_iterator, pointer_handle_tag >
struct  container< value_type, container_tag >
 Returns a container for objects of the specified 'value_type' subject to the provided tag. More...
class  container< base_container_, handle_tag_ >
class  container_base< base_container_, handle_tag >
class  container_base< std::set< key, compare, allocator >, handle_tag >
class  handled_container< base_container_, handle_tag >
struct  IDCompare< ValueT >
struct  IDCompare< smart_id< ValueT, BaseIDType > >
class  iterator< base_iterator, base_const_iterator, id_handle_tag >
class  iterator< base_iterator, base_const_iterator, iterator_handle_tag >
class  iterator< base_iterator, base_const_iterator, no_handle_tag >
class  iterator< base_iterator, base_const_iterator, pointer_handle_tag >

Namespaces

namespace  viennagrid
 

The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces.


namespace  viennagrid::detail
 

Namespace for implementation details. Not intended to be used directly by a library user.


namespace  viennagrid::result_of
 

The metafunction layer. Provides type generators that derive the respective type from the mesh configuration.


Functions

template<typename ContainerT >
ContainerT::iterator find (ContainerT &container, typename ContainerT::value_type::id_type id)
template<typename ContainerT >
ContainerT::const_iterator find (ContainerT const &container, typename ContainerT::value_type::id_type id)
template<typename ContainerT >
ContainerT::iterator find (ContainerT &container, typename ContainerT::value_type const &element)
template<typename ContainerT >
ContainerT::const_iterator find (ContainerT const &container, typename ContainerT::value_type const &element)
template<typename container_type >
void insert (container_type &container, const typename container_type::value_type &value)
template<typename type , typename compare , typename allocator >
void insert (std::set< type, compare, allocator > &container, const typename std::set< type, compare, allocator >::value_type &value)

Detailed Description

Defines the basic building blocks of containers in ViennaGrid.