nemo::Generator< T > Class Template Reference
Generic interface for generators of any kind. More...
#include <Random.h>
Public Member Functions | |
T | operator() () |
Returns an object of type T. | |
virtual | ~Generator () |
Protected Member Functions | |
virtual T | generate () |
Override this method to create a custom generator. |
Detailed Description
template<typename T>
class nemo::Generator< T >
Generic interface for generators of any kind.
Definition at line 14 of file Random.h.
Constructor & Destructor Documentation
template<typename T >
virtual nemo::Generator< T >::~Generator | ( | ) | [inline, virtual] |
Member Function Documentation
template<typename T >
virtual T nemo::Generator< T >::generate | ( | ) | [inline, protected, virtual] |
Override this method to create a custom generator.
Reimplemented in nemo::uniform< T >, and nemo::gaussian< T >.
template<typename T >
T nemo::Generator< T >::operator() | ( | ) | [inline] |
The documentation for this class was generated from the following file:
- nemo/Random.h
Generated on Mon Feb 25 12:49:59 2013 for NemoMath by
![doxygen](doxygen.png)