/// Returns the node data casted into the type T
template<class T> T GetData() const
{ if (mData!=0) return dynamic_cast<T>(mData); return 0; }
/// Returns the node data casted into the type T
template<class T> T GetData() const
{ if (mData!=0) return dynamic_cast<T>(mData); return 0; }