Template Function gpa::detail::WritePtrFieldStr
Defined in File playback/resource-info/to-string.h
Function Documentation
-
template<typename T>
inline std::stringstream &gpa::detail::WritePtrFieldStr(std::stringstream &strStr, StrFmtFlags strFmtFlags, uint32_t tabCount, uint32_t tabSize, char const *fieldName, T const *ptr) Writes a given pointer 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 pointer 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
ptr -- [in] The pointer to write