projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Vagrantfile for building on VirtualBox
[ctsim.git]
/
include
/
fnetorderstream.h
diff --git
a/include/fnetorderstream.h
b/include/fnetorderstream.h
index 158bc3c63984f4590cbac4f9232be0958afa742a..fdce3eaa465a1d6aba4a1be2941f00df79ae37cc 100644
(file)
--- a/
include/fnetorderstream.h
+++ b/
include/fnetorderstream.h
@@
-7,9
+7,7
@@
** Date Started: Sep 2000
**
** This is part of the CTSim program
** Date Started: Sep 2000
**
** This is part of the CTSim program
-** Copyright (c) 1983-2001 Kevin Rosenberg
-**
-** $Id$
+** Copyright (c) 1983-2009 Kevin Rosenberg
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
@@
-119,7
+117,7
@@
using std::fstream;
class fnetorderstream : public fstream {
public:
fnetorderstream (const char* filename, std::ios::openmode mode)
class fnetorderstream : public fstream {
public:
fnetorderstream (const char* filename, std::ios::openmode mode)
- : fstream (filename, mode) {}
+
: fstream (filename, mode) {}
~fnetorderstream (void)
{}
~fnetorderstream (void)
{}
@@
-128,7
+126,7
@@
class fnetorderstream : public fstream {
virtual void writeInt32 (kuint32 n);
virtual void writeFloat32 (kfloat32 n);
virtual void writeFloat64 (kfloat64 n);
virtual void writeInt32 (kuint32 n);
virtual void writeFloat32 (kfloat32 n);
virtual void writeFloat64 (kfloat64 n);
-
+
virtual void readInt16 (kuint16& n);
virtual void readInt32 (kuint32& n);
virtual void readFloat32 (kfloat32& n);
virtual void readInt16 (kuint16& n);
virtual void readInt32 (kuint32& n);
virtual void readFloat32 (kfloat32& n);
@@
-145,7
+143,7
@@
class frnetorderstream : public fnetorderstream {
virtual void writeInt32 (kuint32 n);
virtual void writeFloat32 (kfloat32 n);
virtual void writeFloat64 (kfloat64 n);
virtual void writeInt32 (kuint32 n);
virtual void writeFloat32 (kfloat32 n);
virtual void writeFloat64 (kfloat64 n);
-
+
virtual void readInt16 (kuint16& n);
virtual void readInt32 (kuint32& n);
virtual void readFloat32 (kfloat32& n);
virtual void readInt16 (kuint16& n);
virtual void readInt32 (kuint32& n);
virtual void readFloat32 (kfloat32& n);