template<typename T>
struct IECoreMaya::MDataHandleAccessor< T >
A templated class to allow straight-forward access to data stored in MDataHandle objects. The class is templated on the "raw" type of the data returned, e.g. "float", but in additional the ReturnType typedef can be used to find out the exact type with any qualifiers on it. So, using the same example, MDataHandleAccessor<float>::ReturnType is "float&". This allows simplicity of use, but also permits compatibility with boost::type_traits::is_reference, for more flexible template code.