projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r254: Added binary output of projection file elements
[ctsim.git]
/
include
/
fnetorderstream.h
diff --git
a/include/fnetorderstream.h
b/include/fnetorderstream.h
index b682105b9dfecb322a6f06163148193e5b67a7db..41be6cb8f0b95ba70c34058ac48c7eab2401b179 100644
(file)
--- a/
include/fnetorderstream.h
+++ b/
include/fnetorderstream.h
@@
-71,6
+71,9
@@
class fnetorderstream : public fstream {
fnetorderstream (const char* filename, int mode)
: fstream (filename, mode) {}
fnetorderstream (const char* filename, int mode)
: fstream (filename, mode) {}
+ fnetorderstream (const int fd)
+ : fstream (fd) {}
+
~fnetorderstream (void)
{}
~fnetorderstream (void)
{}
@@
-91,6
+94,9
@@
class frnetorderstream : public fnetorderstream {
frnetorderstream (const char* filename, int mode)
: fnetorderstream (filename, mode) {}
frnetorderstream (const char* filename, int mode)
: fnetorderstream (filename, mode) {}
+ frnetorderstream (const int fd)
+ : fnetorderstream (fd) {}
+
virtual void writeInt16 (kuint16 n);
virtual void writeInt32 (kuint32 n);
virtual void writeFloat32 (kfloat32 n);
virtual void writeInt16 (kuint16 n);
virtual void writeInt32 (kuint32 n);
virtual void writeFloat32 (kfloat32 n);