aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp/oo/ObjPort.h
diff options
context:
space:
mode:
authorcathook <b01902109@csie.ntu.edu.tw>2014-05-02 04:10:56 +0800
committercathook <b01902109@csie.ntu.edu.tw>2014-05-02 04:10:56 +0800
commit33d419e4d54d969798af80f05e05f0c447a99594 (patch)
treec78355a2d334e34df865aca865dbb4864a85820c /meowpp/oo/ObjPort.h
parentd2d7a49563a8f04bd07264a4a989d5656313d375 (diff)
downloadmeow-33d419e4d54d969798af80f05e05f0c447a99594.tar
meow-33d419e4d54d969798af80f05e05f0c447a99594.tar.gz
meow-33d419e4d54d969798af80f05e05f0c447a99594.tar.bz2
meow-33d419e4d54d969798af80f05e05f0c447a99594.tar.lz
meow-33d419e4d54d969798af80f05e05f0c447a99594.tar.xz
meow-33d419e4d54d969798af80f05e05f0c447a99594.tar.zst
meow-33d419e4d54d969798af80f05e05f0c447a99594.zip
big change about dir structure
Diffstat (limited to 'meowpp/oo/ObjPort.h')
-rw-r--r--meowpp/oo/ObjPort.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/meowpp/oo/ObjPort.h b/meowpp/oo/ObjPort.h
new file mode 100644
index 0000000..b9baf0c
--- /dev/null
+++ b/meowpp/oo/ObjPort.h
@@ -0,0 +1,18 @@
+#ifndef oo_ObjPort_H__
+#define oo_ObjPort_H__
+
+#include "ObjBase.h"
+
+#include <cstdio>
+
+namespace meow{
+ template<size_t sid>
+ class ObjPort{
+ public:
+ static ObjBase* read (FILE* __f, bool __binary);
+ static bool write(FILE* __f, bool __binary,
+ ObjBase* __obj, unsigned int __fg);
+ };
+}
+
+#endif // oo_ObjPort_H__