Simplified (unified) interface for registering file writing modules
Created by: SkyToGround
Closes #174 (closed)
This is what has been done:
- Modified the writer registation code to take a template argument for registering a new writer module instead of a
std::function
. - Changed key type for reader module from
std::array<char,4>
tostd::string
. - Added some error checking.
- Mode names clearer and LLVM-ified some names.
- Added unit tests. Probably too many for such simple code but I will not remove them now.
- Modified file name suffixes to *.cpp.