1 #ifndef FILELOADERIMPL_H 2 #define FILELOADERIMPL_H 50 : m_filename(filename)
68 virtual string DetectFileType(
unsigned char *buf,
size_t buflen,
float& matchness)
const = 0;
87 const string m_filename;
90 #endif // FILELOADERIMPL_H
const string & Filename() const
FileLoaderImpl(const string &filename)
Constructs a file loader.
virtual string DetectFileType(unsigned char *buf, size_t buflen, float &matchness) const =0
Attempt to detect file type.
Base class for reference countable objects.
virtual ~FileLoaderImpl()
virtual bool LoadIntoComponent(refcount_ptr< Component > component, ostream &messages) const =0
Loads the file into a Component.