An extendable game engine
Main class containing everything needed to load and read from a Cargo Hold Packed file. More...
|AlienCargoHold (string filename)|
|Checks if the CargoHold file is open. This function can be used for error checking. If it returns false then the file could not be open. |
|ACHDirectory *||getRoot ()|
|Retrieves a pointer to the root directory. Do not use this function to modify the file/directory structure. |
|ifstream *||seekFile (string path)|
|Prepares the structure for reading of the specified file. |
|Returns the full path of the currently open file Returns the full path of the currently open file or an empty string if no file is yet open. |
Main class containing everything needed to load and read from a Cargo Hold Packed file.
This class will handle opening, parsing and closing the CargoHold file. It provides a pointer to the root directory only for printing and debugging purposes and it should not be used for manual manipulation of the file structure.
Note: Libraries that wish to use files from this object need to support all of their file handling operations assuming that all they have is a pointer to the file object that has already been setup for reading from the specified file
|ACHDirectory * AlienCargoHold::getRoot||(||)|
|ifstream * AlienCargoHold::seekFile||(||string||path||)|