Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
609 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name :
  4. SOutStrm.h
  5. Abstract:
  6. A lightweight implementation of output streams using strings
  7. Author:
  8. Neil Allain ( a-neilal ) August-1997
  9. Revision History:
  10. --*/
  11. #pragma once
  12. #include "OutStrm.h"
  13. class StringOutStream : public OutStream, public BaseStringBuffer
  14. {
  15. public:
  16. StringOutStream();
  17. virtual ~StringOutStream();
  18. virtual HRESULT writeChar( _TCHAR );
  19. virtual HRESULT writeString( LPCTSTR, size_t );
  20. String toString() const;
  21. private:
  22. };