]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/iochannel.hxx
hla: Use HLADataElementIndices for HLAInteractionClass.
[simgear.git] / simgear / io / iochannel.hxx
index 2cfa547773862441e750aa6ee71b7d306a35a236..f5266b03c8b022fb78e96158cce72c51c4f7f72c 100644 (file)
@@ -19,7 +19,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
 
 #include <simgear/compiler.h>
 
-// #include "protocol.hxx"
-
-#include STL_STRING
-#include <vector>
-
-SG_USING_STD(vector);
-SG_USING_STD(string);
-
-
 #define SG_IO_MAX_MSG_SIZE 16384
 
 /**
@@ -152,6 +143,14 @@ public:
      */
     virtual bool close();
 
+    /**
+     * The eof() method returns true if end of file has been reached
+     * in a context where that makes sense.  Otherwise it returns
+     * false.
+     * @return result of eof check
+     */
+    virtual bool eof() const;
+
     inline void set_type( SGChannelType t ) { type = t; }
     inline SGChannelType get_type() const { return type; }