mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
a whole new world..
This commit is contained in:
parent
493eb9c2d8
commit
dd98317781
28
dtool/src/dtoolutil/pfstream.I
Normal file
28
dtool/src/dtoolutil/pfstream.I
Normal file
@ -0,0 +1,28 @@
|
||||
// Filename: pfstream.I
|
||||
// Created by: cary (12Dec00)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
INLINE ipfstream::ipfstream(const string cmd) : _psb(PipeStreamBuf::Input) {
|
||||
_psb.command(cmd);
|
||||
}
|
||||
|
||||
INLINE void ipfstream::flush(void) {
|
||||
_psb.flush();
|
||||
}
|
||||
|
||||
INLINE ipfstream::ipfstream(void) : _psb(PipeStreamBuf::Input) {
|
||||
cerr << "should never call default constructor of ipfstream" << endl;
|
||||
}
|
||||
|
||||
INLINE opfstream::opfstream(const string cmd) : _psb(PipeStreamBuf::Output) {
|
||||
_psb.command(cmd);
|
||||
}
|
||||
|
||||
INLINE void opfstream::flush(void) {
|
||||
_psb.flush();
|
||||
}
|
||||
|
||||
INLINE opfstream::opfstream(void) : _psb(PipeStreamBuf::Output) {
|
||||
cerr << "should never call default constructor of opfstream" << endl;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user