Template Function gpa::detail::WritePtrArrayFieldStr
Defined in File playback/resource-info/to-string.h
Function Documentation
-
template<typename T>
inline std::stringstream &gpa::detail::WritePtrArrayFieldStr(std::stringstream &strStr, StrFmtFlags strFmtFlags, uint32_t tabCount, uint32_t tabSize, char const *fieldName, size_t count, T const *pArray) Writes a given array of pointers field to a given std::stringstream.
Note
tabCount only has an effect if strFmtFlags has the GPA_STR_FMT_FORMATTED bit set
Note
tabSize only has an effect if strFmtFlags has the GPA_STR_FMT_FORMATTED bit set
- Parameters
<T> -- The type of the array of pointers to write
strStr -- [in] A reference to the std::stringstream to write to
strFmtFlags -- [in] A bit mask of flags controlling the resulting std::stringstream's formatting
tabCount -- [in] A reference to the tab count to begin the structure at
tabSize -- [in] The number of spaces to use for a tab
fieldName -- [in] A pointer to a null terminated C string containing the name of the field to write
count -- [in] The number of elements in the given array of pointers
pArray -- [in] The array of pointers to write