VR-Forces 4.10 Class Documentation
 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. More...

Inheritance diagram for DtMovementFileLoaderInterface:
Inheritance graph
[legend]

Public Member Functions

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. More...
 
virtual
DtScriptedMovementFileConfiguration 
currentFileConfiguration () const =0
 Returns the file configuration that matches the loaded data. More...
 
virtual
DtScriptedMovementFileConfiguration 
defaultFileConfiguration () const =0
 Returns a default file configuration for this loader interface. More...
 
virtual std::vector< std::string > formatsForFile (const DtFilename &) const =0
 If there are formats that can be applied to the loaded file, returns them. More...
 

Detailed Description

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

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)