CoCoALib-0.9905 date: 23 May 2007


CoCoA::CheckedCast< T > Class Template Reference

#include <convert.H>

Collaboration diagram for CoCoA::CheckedCast< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

template<typename T2>
 CheckedCast (const T2 &val, const char *const FnName)
 operator T () const

Private Member Functions

 CheckedCast (const CheckedCast< T > &)
CheckedCast< T > & operator= (const CheckedCast< T > &)

Private Attributes

myVal

Detailed Description

template<typename T>
class CoCoA::CheckedCast< T >

Definition at line 65 of file convert.H.


Constructor & Destructor Documentation

template<typename T>
template<typename T2>
CoCoA::CheckedCast< T >::CheckedCast const T2 &  val,
const char *const   FnName
[inline]
 

Definition at line 69 of file convert.H.

References CoCoA::ERR::BadCheckedCast, CoCoA_ERROR, CoCoA::convert(), and CoCoA::CheckedCast< T >::myVal.

template<typename T>
CoCoA::CheckedCast< T >::CheckedCast const CheckedCast< T > &   )  [private]
 


Member Function Documentation

template<typename T>
CoCoA::CheckedCast< T >::operator T  )  const [inline]
 

Definition at line 70 of file convert.H.

References CoCoA::CheckedCast< T >::myVal.

template<typename T>
CheckedCast<T>& CoCoA::CheckedCast< T >::operator= const CheckedCast< T > &   )  [private]
 


Member Data Documentation

template<typename T>
T CoCoA::CheckedCast< T >::myVal [private]
 

Definition at line 75 of file convert.H.

Referenced by CoCoA::CheckedCast< T >::CheckedCast(), and CoCoA::CheckedCast< T >::operator T().


The documentation for this class was generated from the following file:
Generated on Wed May 23 13:44:18 2007 for CoCoALib by  doxygen 1.4.6