#include <RndmGenerators.h>
Inheritance diagram for Rndm::Flat:
Public Member Functions | |
Flat (double mi, double ma) | |
Standard Constructor. | |
virtual | ~Flat () |
Standard Destructor. | |
double | minimum () const |
Access lower edge. | |
double | maximum () const |
Access upper edge. | |
virtual IRndmGen::Param * | clone () const |
Clone parameters. | |
virtual const InterfaceID & | type () const |
Parameter's type. | |
Static Public Member Functions | |
static const InterfaceID & | typeID () |
Identifier for factory. | |
Protected Attributes | |
double | m_minimum |
Lower boundary for random numbers. | |
double | m_maximum |
Upper boundary for random numbers. | |
const InterfaceID | m_type |
Type of the generator. |
Definition at line 266 of file RndmGenerators.h.
Rndm::Flat::Flat | ( | double | mi, | |
double | ma | |||
) | [inline] |
Standard Constructor.
Definition at line 274 of file RndmGenerators.h.
00275 : IRndmGen::Param(IID_IRndmFlat), m_minimum(mi), m_maximum(ma) { }
virtual Rndm::Flat::~Flat | ( | ) | [inline, virtual] |
double Rndm::Flat::minimum | ( | ) | const [inline] |
double Rndm::Flat::maximum | ( | ) | const [inline] |
static const InterfaceID& Rndm::Flat::typeID | ( | ) | [inline, static] |
Identifier for factory.
Definition at line 283 of file RndmGenerators.h.
00283 { return IID_IRndmFlat; }
virtual IRndmGen::Param* Rndm::Flat::clone | ( | ) | const [inline, virtual] |
virtual const InterfaceID& IRndmGen::Param::type | ( | ) | const [inline, virtual, inherited] |
double Rndm::Flat::m_minimum [protected] |
double Rndm::Flat::m_maximum [protected] |
const InterfaceID IRndmGen::Param::m_type [protected, inherited] |