public void Load <T>(string pPath) where T : SerializedRoot, new()
        {
            LoaderError    = null;
            LoaderFinished = false;
            try
            {
                StreamReader reader = new StreamReader(pPath);

                XmlSerializer s = new XmlSerializer(typeof(T));
                mLoadedData = s.Deserialize(reader) as T;
            }
            catch (System.Exception e)
            {
                LoaderError = e.Message + e.StackTrace;
                while (e.InnerException != null)
                {
                    LoaderError += " > " + e.InnerException.Message;
                    e            = e.InnerException;
                }
            }finally
            {
                LoaderFinished = true;
            }
        }
 public void CreateEmpty <T>() where T : SerializedRoot, new()
 {
     mLoadedData = new T();
 }