VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
csvMovementFileLoader.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfutil/vrfutilDefines.h"
12 #include "vrfutil/movementFile.h"
13 
16 {
17 public:
20 
22  virtual ~DtCsvMovementFileLoader();
23 
24  static DtMovementFileLoaderInterface* creator();
25 
28  virtual DtMovementFileData loadMovementFileData(const DtFilename&, const std::string& configuration, int loadRows = -1) const;
29 
32 
35 
37  virtual std::vector<std::string> formatsForFile(const DtFilename&) const;
38 
39 protected:
41 };
Interface that must be subclassed in order to be able to load a file for the movement file interface...
Definition: movementFile.h:254
virtual DtScriptedMovementFileConfiguration defaultFileConfiguration() const =0
Returns a default file configuration for this loader interface.
DtScriptedMovementFileConfiguration myConfiguration
Definition: csvMovementFileLoader.h:40
virtual DtScriptedMovementFileConfiguration currentFileConfiguration() const =0
Returns the file configuration that matches the loaded data.
std::vector< DtMovementFileRow > DtMovementFileData
Definition: movementFile.h:251
virtual std::vector< std::string > formatsForFile(const DtFilename &) const =0
If there are formats that can be applied to the loaded file, returns them.
virtual DtMovementFileData loadMovementFileData(const DtFilename &, const std::string &configuration, int loadRows=-1) const =0
Returns the movement file data for this file laid out in an expected configuration format...
The DtScriptedMovementObject will contain information about an object that can be used for scripted m...
Definition: movementFile.h:37
Interface that will read in a comma delimited file.
Definition: csvMovementFileLoader.h:15
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)