15 #ifndef BORNAGAIN_CORE_STANDARDSAMPLES_SAMPLEBUILDERFACTORY_H 
   16 #define BORNAGAIN_CORE_STANDARDSAMPLES_SAMPLEBUILDERFACTORY_H 
Defines interface class IFactory.
 
Defines pure virtual base class ISampleBuilder.
 
Base class for all factories.
 
Our sample model: a stack of layers one below the other.
 
Factory to create standard pre-defined samples.
 
MultiLayer * createSampleByName(const std::string &name)
Retrieves a SampleBuilder from the registry, does the build, and returns the result.