Description
This function deletes the data from the class. It is optional whether to call this before calling SetData since the data is automatically managed. The destructor also calls DeleteData, so in general there is usually no need to call this function directly.