1 #ifndef CLASSIC_Factory_HH
2 #define CLASSIC_Factory_HH
49 virtual void erase(
const std::string &
name) = 0;
69 #endif // CLASSIC_Factory_HH
Interface for basic beam line object.
virtual bool storeElement(ElementBase *newElement)=0
Define a new element.
Map of std::string versus double value.
virtual ElementBase * find(const std::string &name) const =0
Find element by name.
virtual bool define(ElementBase *newElement)=0
Define a new element.
virtual void erase(const std::string &name)=0
Erase element by name.
virtual ElementBase * makeElement(const std::string &type, const std::string &name, const AttributeSet &set)=0
Make new element.
Abstract interface for an element factory.