VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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;
26 
28 {
29 public:
32 
35 
39  virtual bool loadScenarioDescription(const DtFilename& file, const std::map<std::string, std::string>& importData,
41 
44 
47  virtual bool importIntoSimulation(DtSimManager*);
48 
51  virtual bool importFromSimulation(DtSimManager*, const std::map<std::string, std::string>& exportData,
53 
56  virtual bool saveScenarioDescription(const DtFilename& file, const DtScenario&) const;
57 
59  virtual std::string supportedExtensions();
60 
62  virtual bool canImportFile(const DtFilename&);
63 
64 protected:
68  {
70  DtEntityType type;
71  int force;
73  std::vector<DtVector> points;
74  std::vector<ObjectInformation*> children;
77 
79  };
80 
82  typedef std::map<DtString, ObjectInformation*> ObjectMap;
83 
85 
88  typedef std::map<DtString, std::vector<ObjectInformation*> > WaitingMap;
90 };

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)