cpp-hocon
0.3.0
|
Implement this in addition to config_includer if you want to support inclusion of files with the. More...
Public Member Functions | |
virtual shared_object | include_file (shared_include_context context, std::string what) const =0 |
Parses another item to be included. More... | |
Implement this in addition to config_includer if you want to support inclusion of files with the.
syntax. If you do not implement this but do implement config_includer, attempts to load files will use the default includer.
Definition at line 14 of file config_includer_file.hpp.
|
pure virtual |
Parses another item to be included.
The returned object typically would not have substitutions resolved. You can throw a config_exception here to abort parsing, or return an empty object, but may not return null.
context | some info about the include context |
what | the include statement's argument (a file path) |
Implemented in hocon::simple_includer.