GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
genie::Range1F_t Class Reference

A simple [min,max] interval for floats. More...

#include <Range1.h>

Public Member Functions

 Range1F_t (void)
 
 Range1F_t (float _min, float _max)
 
 Range1F_t (const Range1F_t &r)
 
 ~Range1F_t (void)
 
void Copy (const Range1F_t &r)
 

Public Attributes

float min
 
float max
 

Detailed Description

A simple [min,max] interval for floats.

Definition at line 28 of file Range1.h.

Constructor & Destructor Documentation

Range1F_t::Range1F_t ( void  )

Definition at line 16 of file Range1.cxx.

16  :
17 min(0.),
18 max(0.)
19 {
20 
21 }
Range1F_t::Range1F_t ( float  _min,
float  _max 
)

Definition at line 23 of file Range1.cxx.

23  :
24 min(_min),
25 max(_max)
26 {
27 
28 }
Range1F_t::Range1F_t ( const Range1F_t r)

Definition at line 30 of file Range1.cxx.

30  :
31 min(r.min),
32 max(r.max)
33 {
34 
35 }
Range1F_t::~Range1F_t ( void  )

Definition at line 37 of file Range1.cxx.

38 {
39 
40 }

Member Function Documentation

void Range1F_t::Copy ( const Range1F_t r)

Definition at line 42 of file Range1.cxx.

References max, and min.

43 {
44  min = r.min;
45  max = r.max;
46 }

Member Data Documentation

float genie::Range1F_t::max

Definition at line 39 of file Range1.h.

Referenced by Copy(), and genie::utils::math::IsWithinLimits().

float genie::Range1F_t::min

Definition at line 38 of file Range1.h.

Referenced by Copy(), and genie::utils::math::IsWithinLimits().


The documentation for this class was generated from the following files: