GENIEGenerator
Loading...
Searching...
No Matches
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 \at cern.ch> University of Liverpool
Created:\n May 06, 2004
License:\n Copyright (c) 2003-2025, 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() [1/3]

Range1I_t::Range1I_t ( void )

Definition at line 80 of file Range1.cxx.

80 :
81min(0),
82max(0)
83{
84
85}

References max, and min.

Referenced by Copy(), and Range1I_t().

◆ Range1I_t() [2/3]

Range1I_t::Range1I_t ( int _min,
int _max )

Definition at line 87 of file Range1.cxx.

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

References max, and min.

◆ Range1I_t() [3/3]

Range1I_t::Range1I_t ( const Range1I_t & r)

Definition at line 94 of file Range1.cxx.

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

References max, min, and Range1I_t().

◆ ~Range1I_t()

Range1I_t::~Range1I_t ( void )

Definition at line 101 of file Range1.cxx.

102{
103
104}

Member Function Documentation

◆ Copy()

void Range1I_t::Copy ( const Range1I_t & r)

Definition at line 106 of file Range1.cxx.

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

References max, min, and Range1I_t().

Member Data Documentation

◆ max

int genie::Range1I_t::max

Definition at line 67 of file Range1.h.

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

◆ min

int genie::Range1I_t::min

Definition at line 66 of file Range1.h.

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


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