#include <WrapperLoader.h>
Loader calling a function for files ending with a specific string.
Definition at line 25 of file WrapperLoader.h.
◆ wrapped
Wrapper to the function to call for each file.
Definition at line 28 of file WrapperLoader.h.
◆ WrapperLoader()
WrapperLoader::WrapperLoader |
( |
const std::string & |
name, |
|
|
wrapped |
fct |
|
) |
| |
|
inline |
Standard construction.
- Parameters
-
name | suffix to match to load the file. |
fct | function to call to load the file. |
Definition at line 35 of file WrapperLoader.h.
◆ load()
virtual void WrapperLoader::load |
( |
BufferReader * |
reader, |
|
|
const std::string & |
filename |
|
) |
| |
|
inlineoverridevirtual |
◆ willLoad()
virtual bool WrapperLoader::willLoad |
( |
const std::string & |
filename | ) |
|
|
inlineoverridevirtual |
◆ m_function
◆ m_name
std::string WrapperLoader::m_name |
|
private |
The documentation for this class was generated from the following file: