Gaudi Framework, version v24r2

Home   Generated: Wed Dec 4 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
NTuple::Range< TYP > Class Template Reference

Class defining a range. More...

#include <NTuple.h>

Public Member Functions

 Range (const TYP low, const TYP upper)
 Standard constructor.
 
 Range (const Range< TYP > &copy)
 Copy constructor.
 
Rangeoperator= (const Range< TYP > &copy)
 Adjust ranges.
 
virtual ~Range ()
 Destructor.
 
TYP lower () const
 Lower boundary of range.
 
TYP upper () const
 Upper boundary of range.
 
TYP distance () const
 Distance between lower and upper range.
 

Static Public Member Functions

static TYP min ()
 Minimal number of data.
 
static TYP max ()
 Maximal number of data.
 

Private Attributes

TYP m_lower
 Lower boundary of range.
 
TYP m_upper
 Upper boundary of range.
 

Detailed Description

template<class TYP>
class NTuple::Range< TYP >

Class defining a range.

Definition at line 49 of file NTuple.h.

Constructor & Destructor Documentation

template<class TYP>
NTuple::Range< TYP >::Range ( const TYP  low,
const TYP  upper 
)
inline

Standard constructor.

Definition at line 56 of file NTuple.h.

: m_lower(low), m_upper(upper) {
}
template<class TYP>
NTuple::Range< TYP >::Range ( const Range< TYP > &  copy)
inline

Copy constructor.

Definition at line 59 of file NTuple.h.

: m_lower(copy.m_lower),
m_upper(copy.m_upper) {
}
template<class TYP>
virtual NTuple::Range< TYP >::~Range ( )
inlinevirtual

Destructor.

Definition at line 69 of file NTuple.h.

{ }

Member Function Documentation

template<class TYP>
TYP NTuple::Range< TYP >::distance ( ) const
inline

Distance between lower and upper range.

Definition at line 75 of file NTuple.h.

{ return m_upper-m_lower; }
template<class TYP>
TYP NTuple::Range< TYP >::lower ( ) const
inline

Lower boundary of range.

Definition at line 71 of file NTuple.h.

{ return m_lower; }
template<class TYP>
static TYP NTuple::Range< TYP >::max ( )
inlinestatic

Maximal number of data.

Definition at line 79 of file NTuple.h.

template<class TYP>
static TYP NTuple::Range< TYP >::min ( )
inlinestatic

Minimal number of data.

Definition at line 77 of file NTuple.h.

template<class TYP>
Range& NTuple::Range< TYP >::operator= ( const Range< TYP > &  copy)
inline

Adjust ranges.

Definition at line 63 of file NTuple.h.

{
m_lower = copy.m_lower;
m_upper = copy.m_upper;
return *this;
}
template<class TYP>
TYP NTuple::Range< TYP >::upper ( ) const
inline

Upper boundary of range.

Definition at line 73 of file NTuple.h.

{ return m_upper; }

Member Data Documentation

template<class TYP>
TYP NTuple::Range< TYP >::m_lower
private

Lower boundary of range.

Definition at line 51 of file NTuple.h.

template<class TYP>
TYP NTuple::Range< TYP >::m_upper
private

Upper boundary of range.

Definition at line 53 of file NTuple.h.


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

Generated at Wed Dec 4 2013 14:33:23 for Gaudi Framework, version v24r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004