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> 157 #endif //# CASACORE_NO_AUTO_TEMPLATES
Int ndefined()
return the number of factories that have been loaded thus far.
virtual Function< T > * create(const Record &) const
create the Function object described in the given Record.
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.
String: the storage and methods of handling collections of characters.
a class for creating Function objects from Records
this file contains all the compiler specific defines
EclecticFunctionFactory()
create an empty EclecticFunctionFactory