29 #ifndef SCIMATH_ECLECTICFUNCTIONFACTORY_H
30 #define SCIMATH_ECLECTICFUNCTIONFACTORY_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Functionals/Function.h>
34 #include <casacore/casa/Containers/OrderedMap.h>
35 #include <casacore/casa/Containers/OrderedPair.h>
36 #include <casacore/casa/Exceptions/Error.h>
37 #include <casacore/scimath/Functionals/AbstractFunctionFactory.h>
155 #ifndef CASACORE_NO_AUTO_TEMPLATES
156 #include <casacore/scimath/Functionals/EclecticFunctionFactory.tcc>
virtual Function< T > * create(const Record &) const
create the Function object described in the given Record.
Int ndefined()
return the number of factories that have been loaded thus far.
OrderedMap< String, OrderedPair< FunctionFactory< T > *, Bool > > lookup
EclecticFunctionFactory(const EclecticFunctionFactory &factory)
create a shallow copy of another EclecticFunctionFactory
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.
EclecticFunctionFactory & operator=(const EclecticFunctionFactory &factory)
a shallow assignment operator
Bool isDefined(const String &type)
return True if a factory with a given "functype" name has been loaded.
virtual ~EclecticFunctionFactory()
delete this EclecticFunctionFactory.
EclecticFunctionFactory()
create an empty EclecticFunctionFactory
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.