BEvil_def.hpp

Go to the documentation of this file.
00001 #ifndef B_EVIL_DEF_HPP
00002 #define B_EVIL_DEF_HPP
00003 
00004 
00005 #include "BEvil_decl.hpp"
00006 // We have to include this file to be 100% safe since we included
00007 // EvilBaseDecl.hpp in BEvilDecl.hpp
00008 #include "EvilBase.hpp"
00009 // We need to have AEvil's implementation to call it!
00010 #include "AEvil.hpp"
00011 
00012 
00013 namespace EvilPack {
00014 
00015 
00016 template<class T>
00017 void BEvil<T>::callAEvil(const AEvil<T> &aEvil, const T& obj) const
00018 {
00019   using Teuchos::typeName;
00020   std::cout << typeName(*this) << " call AEvil: ";
00021   aEvil.soundOff(obj);
00022 }
00023 
00024 
00025 template<class T>
00026 void BEvil<T>::soundOff(const T& obj) const
00027 {
00028   using Teuchos::typeName;
00029   std::cout << typeName(*this) << " obj = " << obj << "\n";
00030 }
00031 
00032 
00033 } // namespace EvilPack
00034 
00035 
00036 #endif // B_EVIL_DEF_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:28 2011 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.3