USGS

Isis 3.0 Application Source Code Reference

Home

FunctionFactory Struct Reference

#include <MapFunctor.h>

List of all members.


Detailed Description

Template function to add all defined functions.

This templated function can be used by any object that defines a method that has the following signature:

   void add(MapFunctor *func);

Any such class that use this function takes ownership of all functions added using this method.

Parameters:
Receiver A class that has an add method compatible with the described signature.
user An object of type Receiver that contains the add method
Returns:
int The number of functions added

Definition at line 360 of file MapFunctor.h.

Public Member Functions

 FunctionFactory ()
 ~FunctionFactory ()
FunctionList getFunctions () const
void add (FunctionList &funcs, MapFunctor *func) const


Constructor & Destructor Documentation

FunctionFactory (  )  [inline]

Definition at line 361 of file MapFunctor.h.

~FunctionFactory (  )  [inline]

Definition at line 362 of file MapFunctor.h.


Member Function Documentation

FunctionList getFunctions (  )  const [inline]

Definition at line 364 of file MapFunctor.h.

void add ( FunctionList funcs,
MapFunctor func 
) const [inline]

Definition at line 377 of file MapFunctor.h.


The documentation for this struct was generated from the following file: