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
643 B

/*++
Copyright (c) 1997 Microsoft Corporation
Module Name :
SInStrm.h
Abstract:
A lightweight implementation of input streams using strings
Author:
Neil Allain ( a-neilal ) August-1997
Revision History:
--*/
#pragma once
#include "InStrm.h"
class StringInStream : public InStream, public BaseStringBuffer
{
public:
StringInStream( const String& );
virtual HRESULT readChar( _TCHAR& );
virtual HRESULT read( CharCheck&, String& );
virtual HRESULT skip( CharCheck& );
virtual HRESULT back( size_t );
private:
LPTSTR m_pos;
LPTSTR m_end;
};