ViennaGrid - The Vienna Grid Library
2.1.0
|
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_type & | get_id_generator () |
id_generator_type const & | get_id_generator () const |
physical_container_collection_type & | get_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_) |
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.
typedef dependent_inserter_type::id_generator_type id_generator_type |
typedef dependent_inserter_type::physical_container_collection_type physical_container_collection_type |
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] |
id_generator_type& get_id_generator | ( | ) | [inline] |
id_generator_type const& get_id_generator | ( | ) | const [inline] |
physical_container_collection_type const& get_physical_container_collection | ( | ) | 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] |