FileLoader

struct FileLoader

Interface for object’s that can load a file’s contents given the file’s name. The DefaultLoader simply loads the file from the local file system.

Subclassed by kernel_launcher::DefaultLoader, kernel_launcher::ForwardLoader

Public Functions

virtual std::string load(const std::string &file_name) const = 0

Return the content of a file given its name. Implementations of this interface are free to resolve the file path in any way possible.