Skip to content
Snippets Groups Projects
Select Git revision
  • 99c8266f562588b79e02d90d9f6e5b4c91a6f9d2
  • master default protected
  • 72-improve-docs-for_optimal_setup
  • os-path-join
  • develop-GA
  • add-higher-spindown-components
  • v1.3
  • v1.2
  • v1.1.2
  • v1.1.0
  • v1.0.1
11 results

DirectedMC_repeat.sh

Blame
  • 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_*/