
Public Member Functions | |
| virtual | ~ShVariantCast () |
| virtual void | getCastTypes (ShValueType &dest, ShDataType &destDT, ShValueType &src, ShDataType &srcDT) const =0 |
| virtual void | getDestTypes (ShValueType &valueType, ShDataType &dataType) const =0 |
| Returns whether the destination of this caster matches the given types. | |
| virtual void | doCast (ShVariant *dest, const ShVariant *src) const =0 |
| Casts data from src into dest. | |
Definition at line 40 of file ShVariantCast.hpp.
|
||||||||||||
|
Casts data from src into dest. src must have Src value type and SrcDT data type. dest similarly must match Dest and DestDT. Also, must guarantee dest != src (it will work if they are the same but what a waste...) Implemented in SH::ShDataVariantCast< Dest, DestDT, Src, SrcDT >. Referenced by SH::ShCastManager::doCast(). |
1.4.3-20050530