ViennaGrid - The Vienna Grid Library  2.1.0
Public Types | Public Member Functions
recursive_inserter< view_collection_type, change_counter_type, dependent_inserter_type > Class Template Reference

Recursive inserter which inserts an element into the provided collection and all dependent collections. More...

#include <inserter.hpp>

Public Types

typedef
dependent_inserter_type::id_generator_type 
id_generator_type
typedef
dependent_inserter_type::physical_container_collection_type 
physical_container_collection_type

Public Member Functions

id_generator_typeget_id_generator ()
id_generator_type const & get_id_generator () const
physical_container_collection_typeget_physical_container_collection ()
physical_container_collection_type
const & 
get_physical_container_collection () const
template<typename handle_type , typename value_type >
void handle_insert (handle_type ref, viennagrid::detail::tag< value_type >)
template<bool generate_id, bool call_callback, typename value_type >
std::pair< typename
viennagrid::result_of::container_of
< physical_container_collection_type,
value_type >
::type::handle_type, bool > 
insert (const value_type &element)
template<typename value_type >
std::pair< typename
viennagrid::result_of::container_of
< physical_container_collection_type,
value_type >
::type::handle_type, bool > 
operator() (const value_type &element)
template<bool generate_id, bool call_callback, typename value_type , typename inserter_type >
std::pair< typename
viennagrid::result_of::container_of
< physical_container_collection_type,
value_type >
::type::handle_type, bool > 
physical_insert (const value_type &element, inserter_type &inserter)
 recursive_inserter ()
 recursive_inserter (view_collection_type &collection_)
 recursive_inserter (view_collection_type &collection_obj, change_counter_type &change_counter_)
 recursive_inserter (view_collection_type &collection_obj, dependent_inserter_type &dependent_inserter_)
 recursive_inserter (view_collection_type &collection_obj, change_counter_type &change_counter_, dependent_inserter_type &dependent_inserter_)
void set_mesh_info (view_collection_type &collection_obj, change_counter_type &change_counter_)

Detailed Description

template<typename view_collection_type, typename change_counter_type, typename dependent_inserter_type>
class viennagrid::recursive_inserter< view_collection_type, change_counter_type, dependent_inserter_type >

Recursive inserter which inserts an element into the provided collection and all dependent collections.

For example, if a segment s was derived from another segment t and a mesh m, adding an element to s will also insert the element into t and m.


Member Typedef Documentation

typedef dependent_inserter_type::id_generator_type id_generator_type
typedef dependent_inserter_type::physical_container_collection_type physical_container_collection_type

Constructor & Destructor Documentation

recursive_inserter ( ) [inline]
recursive_inserter ( view_collection_type &  collection_) [inline]
recursive_inserter ( view_collection_type &  collection_obj,
change_counter_type &  change_counter_ 
) [inline]
recursive_inserter ( view_collection_type &  collection_obj,
dependent_inserter_type &  dependent_inserter_ 
) [inline]
recursive_inserter ( view_collection_type &  collection_obj,
change_counter_type &  change_counter_,
dependent_inserter_type &  dependent_inserter_ 
) [inline]

Member Function Documentation

id_generator_type const& get_id_generator ( ) const [inline]
void handle_insert ( handle_type  ref,
viennagrid::detail::tag< value_type >   
) [inline]
std::pair< typename viennagrid::result_of::container_of<physical_container_collection_type, value_type>::type::handle_type, bool > insert ( const value_type &  element) [inline]
std::pair< typename viennagrid::result_of::container_of<physical_container_collection_type, value_type>::type::handle_type, bool > operator() ( const value_type &  element) [inline]
std::pair< typename viennagrid::result_of::container_of<physical_container_collection_type, value_type>::type::handle_type, bool > physical_insert ( const value_type &  element,
inserter_type &  inserter 
) [inline]
void set_mesh_info ( view_collection_type &  collection_obj,
change_counter_type &  change_counter_ 
) [inline]

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