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

Provides STL-like algorithms for manipulating containers in ViennaGrid. More...

#include "viennagrid/storage/collection.hpp"
#include "viennagrid/storage/container_collection.hpp"
#include "viennagrid/storage/view.hpp"
#include "viennagrid/meta/algorithm.hpp"

Go to the source code of this file.

Data Structures

class  copy_functor< predicate >
class  dual_for_each_functor< collection_type_1, collection_type_2, functor >
struct  for_each_functor< collection_type, functor >
class  handle_functor< predicate >

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.


Functions

template<typename src_container_typelist , typename dst_container_typelist >
void copy (const collection< src_container_typelist > &src, collection< dst_container_typelist > &dst)
template<typename src_container_typelist , typename dst_container_typelist , typename predicate >
void copy_if (const collection< src_container_typelist > &src, collection< dst_container_typelist > &dst, predicate pred)
template<typename collection_type , typename functor >
void for_each (collection_type &collection, functor f)
template<typename typelist , typename collection_type , typename functor >
void for_each_typelist (collection_type &collection, functor &f)
template<typename src_container_typelist , typename dst_container_typelist >
void handle (collection< src_container_typelist > &src, collection< dst_container_typelist > &dst)
template<typename src_container_typelist , typename dst_container_typelist , typename predicate >
void handle_if (collection< src_container_typelist > &src, collection< dst_container_typelist > &dst, predicate pred)

Detailed Description

Provides STL-like algorithms for manipulating containers in ViennaGrid.