mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
define inheritance of iostream
This commit is contained in:
parent
802d4549d9
commit
3b6a6185e4
@ -27,15 +27,29 @@
|
|||||||
// We don't care about the actual definition of the various iostream
|
// We don't care about the actual definition of the various iostream
|
||||||
// classes, but we do need to know the classnames that are available.
|
// classes, but we do need to know the classnames that are available.
|
||||||
|
|
||||||
class iostream {};
|
// We need to expose one method in each class to force it to publish.
|
||||||
class ostream {};
|
// We should fix that sometime.
|
||||||
class istream {};
|
class ostream {
|
||||||
class fstream {};
|
__published:
|
||||||
class ofstream {};
|
void put(char c);
|
||||||
class ifstream {};
|
void flush();
|
||||||
class stringstream {};
|
};
|
||||||
class ostringstream {};
|
class istream {
|
||||||
class istringstream {};
|
__published:
|
||||||
|
int get();
|
||||||
|
};
|
||||||
|
class iostream : public istream, public ostream {
|
||||||
|
__published:
|
||||||
|
void flush();
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
class ofstream : public ostream {};
|
||||||
|
class ifstream : public istream {};
|
||||||
|
class fstream : public iostream {};
|
||||||
|
class ostringstream : public ostream {};
|
||||||
|
class istringstream : public istream {};
|
||||||
|
class stringstream : public iostream {};
|
||||||
class streambuf {};
|
class streambuf {};
|
||||||
|
|
||||||
extern istream cin;
|
extern istream cin;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user