29 #ifndef SCIMATH_ECLECTICFUNCTIONFACTORY_H
30 #define SCIMATH_ECLECTICFUNCTIONFACTORY_H
155 #ifndef CASACORE_NO_AUTO_TEMPLATES
156 #include <casacore/scimath/Functionals/EclecticFunctionFactory.tcc>
157 #endif //# CASACORE_NO_AUTO_TEMPLATES
Int ndefined()
return the number of factories that have been loaded thus far.
Bool isDefined(const String &type)
return True if a factory with a given "functype" name has been loaded.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
void addFactory(const String &type, FunctionFactory< T > *factory, Bool own=True)
add a factory for creating a specific type of function, associating it with a given "functype" name...
OrderedMap< String, OrderedPair< FunctionFactory< T > *, Bool > > lookup
EclecticFunctionFactory & operator=(const EclecticFunctionFactory &factory)
a shallow assignment operator
virtual ~EclecticFunctionFactory()
delete this EclecticFunctionFactory.
virtual Function< T > * create(const Record &) const
create the Function object described in the given Record.
String: the storage and methods of handling collections of characters.
a class for creating Function objects from Records
EclecticFunctionFactory()
create an empty EclecticFunctionFactory