VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfFileParser.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <mtl/mtl.h>
12 #include <vlutil/vlFilename.h>
13 #include <vlutil/vlHashlist.h>
14 #include <vrfutil/rwUUID.h>
15 
16 #include <map>
17 #include <set>
18 
21 
24 {
25 public:
26 
28 
29  virtual ~DtVrfFileParser();
30 
33  virtual bool parseFile(const DtFilename& filename);
34 
36  virtual bool parseOrderOfBattleFile(const DtlObjPtr& oobList);
37  virtual bool parseOrderOfBattleObject(const DtlObjPtr& args);
38 
41  virtual bool parsePlanFile(const DtlObjPtr& plnList);
42 
43  virtual bool parseGlobalPlanFile(const DtlObjPtr& plnList);
44 
46  virtual void parsePlan(const DtlObjPtr& args);
47 
48  virtual const std::set<DtUUID>& uuids() const;
49  virtual const DtlObjPtr& getObjPtr(const DtUUID&) const;
50 
52  virtual bool hasGlobalWeatherObject() const
53  {
54  return myHasGlobalWeatherObject;
55  }
56 
57 protected:
58 
59  virtual void clear();
60  virtual void addUUID(const DtUUID&, const DtlObjPtr& args);
61 
62 protected:
63 
64  DtlObjPtr myList;
65  DtlObjPtr myEnv;
66 
67  std::map<DtUUID, DtlObjPtr*> myUUID2DataMap;
68  std::set<DtUUID> myUUIDsList;
69 
71 };

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)