AEvil_def.hpp

Go to the documentation of this file.
00001 #ifndef A_EVIL_DEF_HPP
00002 #define A_EVIL_DEF_HPP
00003 
00004 
00005 #include "AEvil_decl.hpp"
00006 // We have to include this file to be 100% safe since we included
00007 // EvilBaseDecl.hpp in AEvilDecl.hpp
00008 #include "EvilBase.hpp"
00009 // We need to have BEvil's implementation to call it!
00010 #include "BEvil.hpp"
00011 
00012 
00013 namespace EvilPack {
00014 
00015 
00016 template<class T>
00017 void AEvil<T>::callBEvil(const BEvil<T> &bEvil, const T& obj) const
00018 {
00019   using Teuchos::typeName;
00020   std::cout << typeName(*this) << " call BEvil: ";
00021   bEvil.soundOff(obj);
00022 }
00023 
00024 
00025 template<class T>
00026 void AEvil<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 // A_EVIL_DEF_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:27 2011 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.3