VR-Forces 4.0.4 Class Documentation
include/vrvTerrain/DtOpenFlightHeaderParser.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtOpenFlightHeaderParser.h,v $ $Revision: 1.4 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtOpenFlightHeaderParser_H_
00014 #define DtOpenFlightHeaderParser_H_
00015 
00016 #include <vrvTerrain/vrvTerrain.h>
00017 #include <vrvCore/DtHeaderParser.h>
00018 
00019 #include <vlutil/vlNetTypes.h>
00020 #include <fstream>
00021 
00022 namespace makVrv
00023 {
00026    class DT_DLL_VRVTERRAIN DtOpenFlightHeaderParser : public DtHeaderParser
00027    {
00028 
00029    public:
00030 
00032       DtOpenFlightHeaderParser(const std::string& filePath);
00033 
00035       virtual ~DtOpenFlightHeaderParser();
00036 
00039       virtual bool isValid();
00040 
00041    protected:
00042 
00043       struct OpenflightHeader;
00044 
00046       virtual bool parseOpenFlightHeader(const OpenflightHeader& header);
00047    };
00048 
00051    class DT_DLL_VRVTERRAIN DtOpenFlightHeaderParserCreator : public DtHeaderParserCreator
00052    {
00053    public:     
00054 
00056       DtOpenFlightHeaderParserCreator();
00057 
00059       virtual ~DtOpenFlightHeaderParserCreator();
00060 
00062       virtual DtHeaderParser* create(DtDe& de, const std::string& filePath) const;
00063 
00064    };
00065 }
00066 
00067 #endif
00068 
00069 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)