| 412 | |
| 413 | /** OutputWriter class to write the INI data to a string */ |
| 414 | class StringWriter : public OutputWriter { |
| 415 | std::string &m_string; |
| 416 | |
| 417 | public: |
| 418 | StringWriter(std::string &a_string) : m_string(a_string) {} |
| 419 | void Write(const char *a_pBuf) { m_string.append(a_pBuf); } |
| 420 | |
| 421 | private: |
| 422 | StringWriter(const StringWriter &); // disable |
| 423 | StringWriter &operator=(const StringWriter &); // disable |
| 424 | }; |
| 425 | |
| 426 | #ifdef SI_SUPPORT_IOSTREAMS |
| 427 | /** OutputWriter class to write the INI data to an ostream */ |
nothing calls this directly
no outgoing calls
no test coverage detected