Template Function gpa::playback::detail::RegisterStorage(std::vector<DataType>&, CountType&, DataType const *&)

Function Documentation

template<typename CountType, typename DataType>
inline void gpa::playback::detail::RegisterStorage(std::vector<DataType> &storage, CountType &count, DataType const *&pData)

Registers an array for persistent storage for a ResourceInfo or ResourceInfo::Ex object.

Parameters
  • <CountType> -- The type of the array length count value

  • <DataType> -- The type of the array

  • storage -- [in] The persistent storage to register the given data with

  • count -- [in] The number of elements to register

  • pData -- [in] A pointer to the data to register