Skip to content
Snippets Groups Projects
Select Git revision
  • a9d243c9a5b14a0a39425e2d82c0cda9bf182355
  • master default protected
  • develop-GA
  • timeFstatmap
  • add-higher-spindown-components
  • develop-DK
  • adds-header-to-grid-search
  • v1.2
  • v1.1.2
  • v1.1.0
  • v1.0.1
11 results

make_fake_data.py

Blame
  • Forked from Gregory Ashton / PyFstat
    Source project has a limited visibility.
    ResourceFactory.h 550 B
    #ifndef RESOURCEFACTORY_H_
    #define RESOURCEFACTORY_H_
    
    #include <string>
    #include <map>
    #include <iostream>
    
    #include "Resource.h"
    
    class ResourceFactory
    {
    public:
    	ResourceFactory();
    	virtual ~ResourceFactory();
    	
    	const Resource* createInstance(const string identifier);
    	
    private:
    	map<string, vector<unsigned char> > m_ResourceMap;
    };
    
    // TODO: does this need to be global?
    extern const string c_ResourceIdentifiers[];
    extern const unsigned int c_ResourceIndex[][2];
    extern const unsigned char c_ResourceStorage[];
    
    #endif /*RESOURCEFACTORY_H_*/