Template Function gpa::detail::WriteArrayFieldStr
Defined in File api-types/to-string.h
Function Documentation
-
template<typename T>
inline std::stringstream &gpa::detail::WriteArrayFieldStr(std::stringstream &strStr, StrFmtFlags strFmtFlags, uint32_t tabCount, uint32_t tabSize, char const *fieldName, size_t count, T const *pArray) Writes a given array 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 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
pArray -- [in] The array to write