ViennaGrid - The Vienna Grid Library  2.1.0
viennagrid/storage/container_collection_element.hpp
Go to the documentation of this file.
00001 #ifndef VIENNAGRID_STORAGE_CONTAINER_COLLECTION_ELEMENT_HPP
00002 #define VIENNAGRID_STORAGE_CONTAINER_COLLECTION_ELEMENT_HPP
00003 
00004 /* =======================================================================
00005    Copyright (c) 2011-2014, Institute for Microelectronics,
00006                             Institute for Analysis and Scientific Computing,
00007                             TU Wien.
00008 
00009                             -----------------
00010                      ViennaGrid - The Vienna Grid Library
00011                             -----------------
00012 
00013    License:      MIT (X11), see file LICENSE in the base directory
00014 ======================================================================= */
00015 
00020 namespace viennagrid
00021 {
00022   namespace detail
00023   {
00024     template<typename container_collection_element_type, typename inserter_type>
00025     void insert_callback( container_collection_element_type & element, bool insert_result, inserter_type & inserter)
00026     {
00027       element.insert_callback( inserter, insert_result );
00028     }
00029 
00030     template<typename container_collection_element_type, typename inserter_type>
00031     void insert_callback( container_collection_element_type const & element, bool insert_result, inserter_type & inserter)
00032     {
00033       element.insert_callback( inserter, insert_result );
00034     }
00035 
00036     template<typename inserter_type>
00037     void insert_callback( bool & , bool , inserter_type & ) {}
00038 
00039     template<typename inserter_type>
00040     void insert_callback( char & , bool , inserter_type & ) {}
00041 
00042     template<typename inserter_type>
00043     void insert_callback( unsigned char & , bool , inserter_type & ) {}
00044 
00045     template<typename inserter_type>
00046     void insert_callback( short & , bool , inserter_type & ) {}
00047 
00048     template<typename inserter_type>
00049     void insert_callback( unsigned short & , bool , inserter_type & ) {}
00050 
00051     template<typename inserter_type>
00052     void insert_callback( int & , bool , inserter_type & ) {}
00053 
00054     template<typename inserter_type>
00055     void insert_callback( unsigned int & , bool , inserter_type & ) {}
00056 
00057     template<typename inserter_type>
00058     void insert_callback( long & , bool , inserter_type & ) {}
00059 
00060     template<typename inserter_type>
00061     void insert_callback( unsigned long & , bool , inserter_type & ) {}
00062 
00063     template<typename inserter_type>
00064     void insert_callback( float & , bool , inserter_type & ) {}
00065 
00066     template<typename inserter_type>
00067     void insert_callback( double & , bool , inserter_type & ) {}
00068 
00069 
00070     template<typename inserter_type>
00071     void insert_callback( const bool & , bool , inserter_type & ) {}
00072 
00073     template<typename inserter_type>
00074     void insert_callback( const char & , bool , inserter_type & ) {}
00075 
00076     template<typename inserter_type>
00077     void insert_callback( const unsigned char & , bool , inserter_type & ) {}
00078 
00079     template<typename inserter_type>
00080     void insert_callback( const short & , bool , inserter_type & ) {}
00081 
00082     template<typename inserter_type>
00083     void insert_callback( const unsigned short & , bool , inserter_type & ) {}
00084 
00085     template<typename inserter_type>
00086     void insert_callback( const int & , bool , inserter_type & ) {}
00087 
00088     template<typename inserter_type>
00089     void insert_callback( const unsigned int & , bool , inserter_type & ) {}
00090 
00091     template<typename inserter_type>
00092     void insert_callback( const long & , bool , inserter_type & ) {}
00093 
00094     template<typename inserter_type>
00095     void insert_callback( const unsigned long & , bool , inserter_type & ) {}
00096 
00097     template<typename inserter_type>
00098     void insert_callback( const float & , bool , inserter_type & ) {}
00099 
00100     template<typename inserter_type>
00101     void insert_callback( const double & , bool , inserter_type & ) {}
00102 
00103 
00104   }
00105 }
00106 
00107 
00108 #endif