Program: bbtk
Module: $RCSfile: bbtkRTTI.cxx,v $
Language: C++
- Date: $Date: 2008/10/17 08:18:14 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2009/05/28 08:12:06 $
+ Version: $Revision: 1.4 $
=========================================================================*/
/* ---------------------------------------------------------------------
void* source_pointer
)
{
- bbtkDebugMessage("Data",5,
+ bbtkDebugMessage("data",5,
"run_time_up_or_down_cast : Casting pointer to '"
<< TypeName(typeid(*(Dummy*)source_pointer))
<< "' from " << TypeName(source_type)
const abi::__class_type_info* targetTI =
(const abi::__class_type_info *)( &(target_type));
- bbtkDebugMessage("Data",7," * source = "<<source_pointer<<std::endl);
+ bbtkDebugMessage("data",7," * source = "<<source_pointer<<std::endl);
void* tmp = source_pointer;
if (source_type.__do_upcast(targetTI,&tmp))
}
else
{
- bbtkDebugMessage("Data",7,
+ bbtkDebugMessage("data",7,
" * upcast failed : trying dynamic down cast"
<<std::endl);
const abi::__class_type_info* sourceTI =
-1);
}
- bbtkDebugMessage("Data",7," * target = "<<target_pointer<<std::endl);
+ bbtkDebugMessage("data",7," * target = "<<target_pointer<<std::endl);
#else
bbtkWarning("run_time_up_or_down_cast not impl. on Win : to do");