VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtMovementFileLoaderInterface Class Referenceabstract

Interface that must be subclassed in order to be able to load a file for the movement file interface.

Inheritance diagram for DtMovementFileLoaderInterface:
Inheritance graph
[legend]

Public Member Functions

virtual DtMovementFileData loadMovementFileData (const DtFilename &, const std::string &configuration, int loadRows=-1) const =0
 
virtual
DtScriptedMovementFileConfiguration 
currentFileConfiguration () const =0
 
virtual
DtScriptedMovementFileConfiguration 
defaultFileConfiguration () const =0
 
virtual std::vector< std::string > formatsForFile (const DtFilename &) const =0
 

Member Function Documentation

virtual DtMovementFileData DtMovementFileLoaderInterface::loadMovementFileData ( const DtFilename &  ,
const std::string &  configuration,
int  loadRows = -1 
) const
pure virtual

Returns the movement file data for this file laid out in an expected configuration format. Starts loading at the given row in the configuration returns the data loaded. -1 for loadRows means load all rows.

Implemented in DtASEMovementFileLoader, and DtCsvMovementFileLoader.

virtual DtScriptedMovementFileConfiguration DtMovementFileLoaderInterface::currentFileConfiguration ( ) const
pure virtual

Returns the file configuration that matches the loaded data.

Implemented in DtASEMovementFileLoader, and DtCsvMovementFileLoader.

virtual DtScriptedMovementFileConfiguration DtMovementFileLoaderInterface::defaultFileConfiguration ( ) const
pure virtual

Returns a default file configuration for this loader interface.

Implemented in DtASEMovementFileLoader, and DtCsvMovementFileLoader.

virtual std::vector<std::string> DtMovementFileLoaderInterface::formatsForFile ( const DtFilename &  ) const
pure virtual

If there are formats that can be applied to the loaded file, returns them.

Implemented in DtASEMovementFileLoader, and DtCsvMovementFileLoader.


The documentation for this class was generated from the following file:

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)