Teuchos_dyn_cast.hpp File Reference

#include "Teuchos_TypeNameTraits.hpp"
Include dependency graph for Teuchos_dyn_cast.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Teuchos::m_bad_cast
 Exception class for bad cast. More...

Namespaces

namespace  Teuchos

Functions

void Teuchos::dyn_cast_throw_exception (const std::string &type_from_name, const std::string &type_from_concr_name, const std::string &type_to_name)
template<class T_To , class T_From >
T_To & Teuchos::dyn_cast (T_From &from)
 Dynamic casting utility function meant to replace dynamic_cast<T&> by throwing a better documented error message.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Oct 20 10:23:11 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1