ViennaGrid - The Vienna Grid Library  2.1.0
Public Types | Public Member Functions
physical_inserter< container_collection_type, change_counter_type, id_generator_type_ > Class Template Reference

An inserter class which adds elements to a the provided container collection. For example, this inserts a triangle into a segment s, but not into the mesh or segment where s was derived from. More...

#include <inserter.hpp>

Public Types

typedef id_generator_type_ id_generator_type
typedef container_collection_type physical_container_collection_type

Public Member Functions

id_generator_typeget_id_generator ()
id_generator_type const & get_id_generator () const
container_collection_type & get_physical_container_collection ()
container_collection_type const & get_physical_container_collection () const
template<typename handle_type , typename value_type >
void handle_insert (handle_type, viennagrid::detail::tag< value_type >)
template<bool generate_id, bool call_callback, typename value_type >
std::pair< typename
viennagrid::result_of::container_of
< 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
< 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
< container_collection_type,
value_type >
::type::handle_type, bool > 
physical_insert (value_type element, inserter_type &inserter)
 physical_inserter ()
 physical_inserter (container_collection_type &collection_obj)
 physical_inserter (container_collection_type &collection_obj, id_generator_type id_generator_)
 physical_inserter (container_collection_type &collection_obj, change_counter_type &change_counter_)
 physical_inserter (container_collection_type &collection_obj, change_counter_type &change_counter_, id_generator_type id_generator_)
void set_mesh_info (container_collection_type &collection_obj, change_counter_type &change_counter_)

Detailed Description

template<typename container_collection_type, typename change_counter_type, typename id_generator_type_>
class viennagrid::physical_inserter< container_collection_type, change_counter_type, id_generator_type_ >

An inserter class which adds elements to a the provided container collection. For example, this inserts a triangle into a segment s, but not into the mesh or segment where s was derived from.


Member Typedef Documentation

typedef id_generator_type_ id_generator_type
typedef container_collection_type physical_container_collection_type

Constructor & Destructor Documentation

physical_inserter ( ) [inline]
physical_inserter ( container_collection_type &  collection_obj) [inline]
physical_inserter ( container_collection_type &  collection_obj,
id_generator_type  id_generator_ 
) [inline]
physical_inserter ( container_collection_type &  collection_obj,
change_counter_type &  change_counter_ 
) [inline]
physical_inserter ( container_collection_type &  collection_obj,
change_counter_type &  change_counter_,
id_generator_type  id_generator_ 
) [inline]

Member Function Documentation

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

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