Files
o3de/Code/Framework/AzCore/Tests
lumberyard-employee-dm 2ce7bbd945 Moved the SettingsRegistryFileReader class to more general IO Reader (#4189)
The new FileReader class allows using either a FileIOBase or SystemFile
classes for reading files.
If a non-nullptr FileIOBase is supplied, the FileIOBase is used,
otherwise SystemFile is used.

Updated the SettingsRegistryMergeUtils
`MergeSettingsToRegistry_ConfigFile` function to use the FileReader.

This allows .cfg such as the autoexec.cfg to be read using FileIO,
therefore allowing it to be read from the engine.pak file.

Because the AZ::Console::ExecuteConfigFile uses the
`MergeSettingsToRegistry_ConfigFile` function for merging *.cfg files to
the SettingsRegistry, this allows the AZ::Console to run console
commands from files within pak files thanks to the ArchiveFileIO being
the default FileIOBase instance

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
2021-09-24 17:36:26 -05:00
..
2021-08-16 16:02:53 -07:00
2021-08-20 14:48:42 -07:00
2021-09-03 14:50:26 -07:00
2021-09-13 14:07:28 -07:00
2021-09-03 14:50:26 -07:00
2021-08-20 14:48:42 -07:00
2021-08-20 14:48:42 -07:00
2021-08-20 14:48:42 -07:00
2021-09-03 14:50:26 -07:00
2021-08-20 20:36:11 -07:00
2021-09-08 16:50:57 -07:00
2021-08-20 14:48:42 -07:00
2021-09-03 14:50:26 -07:00