Function gpa::detail::EndStructureStr

Function Documentation

inline std::string gpa::detail::EndStructureStr(std::stringstream &strStr, StrFmtFlags strFmtFlags, uint32_t tabCount, uint32_t tabSize)

Gets a std::string finalized with the contents of a structure.

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
  • strStr -- [in] The std::stringstream with the contents of the structure

  • strFmtFlags -- [in] A bit mask of flags controlling the resulting std::string'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

Returns

The std::string representation of the structure