Skip to content
Snippets Groups Projects
Select Git revision
  • c5b0828d4ec401bd83bcc62726c7769628f4d7bf
  • master default protected
  • Binary
  • add-version-information
  • os-path-join
  • develop-GA
  • timeFstatmap
  • add-higher-spindown-components
  • develop-DK
  • adds-header-to-grid-search
  • v1.3
  • v1.2
  • v1.1.2
  • v1.1.0
  • v1.0.1
15 results

make_sfts.py

Blame
  • Forked from Gregory Ashton / PyFstat
    Source project has a limited visibility.
    ResourceCompiler.h 616 B
    #ifndef RESOURCECOMPILER_H_
    #define RESOURCECOMPILER_H_
    
    #include <string>
    #include <map>
    #include <vector>
    #include <iostream>
    #include <fstream>
    #include <sstream>
    #include <iterator>
    
    using namespace std;
    
    
    class ResourceCompiler
    {
    public:
    	ResourceCompiler(const string inputFilename, const string outputFilename);
    	virtual ~ResourceCompiler();
    	
    	void compile();
    	
    private:
    	void parseInputFile();
    	void loadBinaryData();
    	
    	string m_ResourceSpecFile;
    	string m_ResourceCodeFile;
    	map<string, string> m_ResourceFileMap;
    	map<string, vector<unsigned char> > m_ResourceDataMap;
    };
    
    #endif /*RESOURCECOMPILER_H_*/