class PtrCastException

The PtrCastException occurs when we are unable to cast a RCPtr<T> to a RCPtr<U> More...

Definition#include <data-flow/include/rc_ptrs.h>
Template formPtrCastException<template class T, class U>
InheritsGenericCastException
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

The PtrCastException occurs when we are unable to cast a RCPtr<T> to a RCPtr<U>

string type

[protected]

 PtrCastException (const T *obj) : type(typeid(*obj).name())

The constructur that takes an error message

void  print (ostream &out = cerr)

[virtual]

The print method

Reimplemented from GenericCastException.