|
/* /% C++ %/ */
/***********************************************************************
* cint (C/C++ interpreter)
************************************************************************
* header file stdiostream.sut.h
************************************************************************
* Description:
* Stub file for making iostream library
************************************************************************
* Copyright(c) 1991~2001, Masaharu Goto (MXJ02154@niftyserve.or.jp)
*
************************************************************************/
#ifndef G__STDSTREAM_H
#define G__STDSTREAM_H
#ifndef __CINT__
#ifndef G__NEWSTDHEADER
#if defined(__APPLE__)
#include <iostream.h>
#elif defined(_WINDOWS)
#include <stdiostr.h>
#else
#include <stdiostream.h>
#endif
#endif
#else
#include "iostrm.h"
#include <stdio.h>
#ifdef G__NEVER
class stdiobuf : public streambuf {
/*** stdiobuf is obsolete, should be avoided ***/
public: // Virtuals
virtual int overflow(int=EOF);
virtual int underflow();
virtual int sync() ;
virtual streampos seekoff(streamoff,ios::seek_dir,int) ;
virtual int pbackfail(int c);
public:
stdiobuf(FILE* f) ;
FILE* stdiofile() { return fp ; }
virtual ~stdiobuf() ;
};
#endif
#ifdef G__NEVER
class stdiostream : public ios {
public:
stdiostream(FILE*) ;
~stdiostream() ;
stdiobuf* rdbuf() ;
private:
stdiobuf buf ;
};
#endif
#endif
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.