19 std::map<exe_type, ExeBuilder*>::iterator itr;
29 if (!buf)
return NONE;
33 std::map<exe_type, ExeBuilder*>::iterator itr;
37 if (builder == NULL)
continue;
54 if (!builder)
return NULL;
56 return builder->
build(buf);
66 if (builder == NULL)
return "Not supported";
virtual Executable * build(AbstractByteBuffer *buf)=0
virtual bool signatureMatches(AbstractByteBuffer *buf)=0
virtual QString typeName()=0
static exe_type findMatching(AbstractByteBuffer *buf)
static std::map< exe_type, ExeBuilder * > builders
static Executable * build(AbstractByteBuffer *buf, exe_type type)
static QString getTypeName(exe_type type)