#include <IFileManager.h>
Inheritance diagram for amn::IFileManager:
Public Member Functions | |
IFileManager (IEngine *e) | |
virtual | ~IFileManager () |
virtual IEngine * | getEngine ()=0 |
Returns a pointer to the engine. | |
virtual IReadFile * | openFileForReading (const char *filename)=0 |
virtual IReadFileXML * | openXMLFileForReading (const char *filename)=0 |
virtual IWriteFile * | openFileForWriting (const char *filename)=0 |
virtual void | closeFile (IReadFile *file)=0 |
Closes and deallocates a file pointer. | |
virtual void | closeFile (IReadFileXML *file)=0 |
Closes and deallocates an XML file pointer. | |
virtual void | closeFile (IWriteFile *file)=0 |
Closes and deallocates a file pointer. | |
Protected Attributes | |
IEngine * | engine |
IArray< IReadFile * > | openInputs |
IArray< IReadFileXML * > | openInputsXML |
IArray< IWriteFile * > | openOutputs |
|
|
|
|
|
Closes and deallocates a file pointer.
|
|
Closes and deallocates an XML file pointer.
|
|
Closes and deallocates a file pointer.
|
|
Returns a pointer to the engine.
|
|
Opens a file for reading.
|
|
Opens a file for writing.
|
|
Opens an XML file for reading and parsing.
|
|
|
|
|
|
|
|
|