VR-Forces 4.2 Class Documentation
csvScenarioDescriptionImporterExporter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
8 #pragma once
9 
11 
23 
24 class DtVrfObject;
25 
27 {
28 public:
31 
34 
38  virtual bool loadScenarioDescription(const DtFilename& file, const std::map<std::string, std::string>& importData,
40 
43 
46  virtual bool importIntoSimulation(DtSimManager*);
47 
50  virtual bool importFromSimulation(DtSimManager*, const std::map<std::string, std::string>& exportData,
52 
55  virtual bool saveScenarioDescription(const DtFilename& file, const DtScenario&) const;
56 
58  virtual std::string supportedExtensions();
59 
61  virtual bool canImportFile(const DtFilename&);
62 
63 protected:
67  {
69  DtEntityType type;
70  int force;
72  std::vector<DtVector> points;
73  std::vector<ObjectInformation*> children;
76 
78  };
79 
81  typedef std::map<DtString, ObjectInformation*> ObjectMap;
82 
84 
87  typedef std::map<DtString, std::vector<ObjectInformation*> > WaitingMap;
89 };

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)