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

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

#include <Range1.h>

Public Member Functions

 Range1I_t (void)
 
 Range1I_t (int _min, int _max)
 
 Range1I_t (const Range1I_t &r)
 
 ~Range1I_t (void)
 
void Copy (const Range1I_t &r)
 

Public Attributes

int min
 
int max
 

Detailed Description

A simple [min,max] interval for integers.

Author
Costas Andreopoulos <c.andreopoulos cern.ch> University of Liverpool
Created:
May 06, 2004
License:
Copyright (c) 2003-2024, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 56 of file Range1.h.

Constructor & Destructor Documentation

Range1I_t::Range1I_t ( void  )

Definition at line 80 of file Range1.cxx.

80  :
81 min(0),
82 max(0)
83 {
84 
85 }
Range1I_t::Range1I_t ( int  _min,
int  _max 
)

Definition at line 87 of file Range1.cxx.

87  :
88 min(_min),
89 max(_max)
90 {
91 
92 }
Range1I_t::Range1I_t ( const Range1I_t r)

Definition at line 94 of file Range1.cxx.

94  :
95 min(r.min),
96 max(r.max)
97 {
98 
99 }
Range1I_t::~Range1I_t ( void  )

Definition at line 101 of file Range1.cxx.

102 {
103 
104 }

Member Function Documentation

void Range1I_t::Copy ( const Range1I_t r)

Definition at line 106 of file Range1.cxx.

References max, and min.

107 {
108  min = r.min;
109  max = r.max;
110 }

Member Data Documentation

int genie::Range1I_t::max

Definition at line 67 of file Range1.h.

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

int genie::Range1I_t::min

Definition at line 66 of file Range1.h.

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


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