VR-Forces 4.0.4 Class Documentation
include/vrfcontrol/vrfFileParser.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: vrfFileParser.h,v $ $Revision: 1.11 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtVrfFileParser_H_
00013 #define DtVrfFileParser_H_
00014 
00015 #include <mtl/mtl.h>
00016 #include <vlutil/vlFilename.h>
00017 #include <vlutil/vlHashlist.h>
00018 
00019 
00022 
00023 #include "vrfcontrol/vrfcontrolDefines.h"
00024 class DT_DLL_vrfcontrol DtVrfFileParser
00025 {
00026 public:
00027 
00028    DtVrfFileParser();
00029 
00030    virtual ~DtVrfFileParser();
00031 
00034    virtual bool parseFile(const DtFilename& filename);
00035 
00037    virtual bool parseOrderOfBattleFile(const DtlObjPtr& oobList);
00038    virtual void parseOrderOfBattleObject(const DtlObjPtr& args);
00039 
00042    virtual bool parsePlanFile(const DtlObjPtr& plnList);
00043 
00044    virtual bool parseGlobalPlanFile(const DtlObjPtr& plnList);
00045 
00047    virtual void parsePlan(const DtlObjPtr& args);
00048 
00049 
00050    virtual const DtList& names();
00051    virtual const DtlObjPtr& getObjPtr(const DtString& name) const;
00052 
00053 protected:
00054 
00055    virtual void clear();
00056    virtual void addName(const DtString& name, const DtlObjPtr& args);
00057 
00058 protected:
00059 
00060    DtlObjPtr myList;
00061    DtlObjPtr myEnv;
00062    DtHashlist myName2DataMap;
00063    DtList myNameList;
00064 };
00065 
00066 #endif

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)