Logo ROOT   6.16/01
Reference Guide
List of all members | Public Types | Public Member Functions | List of all members
ROOT::Experimental::Hist::RCoordArray< DIMENSIONS > Struct Template Reference

template<int DIMENSIONS>
struct ROOT::Experimental::Hist::RCoordArray< DIMENSIONS >

Definition at line 26 of file RHistUtils.hxx.

Public Types

using Base_t = std::array< double, DIMENSIONS >
 

Public Member Functions

 RCoordArray ()=default
 Default construction. More...
 
template<class... ELEMENTS, class = typename std::enable_if<sizeof...(ELEMENTS) + 1 == DIMENSIONS>::type>
 RCoordArray (double x, ELEMENTS...el)
 Construction with one double per DIMENSION. More...
 
 RCoordArray (double(&arr)[DIMENSIONS])
 Construction from a C-style array. More...
 
template<class T , class... ELEMENTS, class = typename std::enable_if<sizeof...(ELEMENTS) + 1 != DIMENSIONS>::type>
 RCoordArray (T, ELEMENTS...)
 Fallback constructor, invoked if the one above fails because of the wrong number of arguments / coordinates. More...
 

#include <ROOT/RHistUtils.hxx>

Inheritance diagram for ROOT::Experimental::Hist::RCoordArray< DIMENSIONS >:
[legend]

Member Typedef Documentation

◆ Base_t

template<int DIMENSIONS>
using ROOT::Experimental::Hist::RCoordArray< DIMENSIONS >::Base_t = std::array<double, DIMENSIONS>

Definition at line 27 of file RHistUtils.hxx.

Constructor & Destructor Documentation

◆ RCoordArray() [1/4]

template<int DIMENSIONS>
ROOT::Experimental::Hist::RCoordArray< DIMENSIONS >::RCoordArray ( )
default

Default construction.

◆ RCoordArray() [2/4]

template<int DIMENSIONS>
template<class... ELEMENTS, class = typename std::enable_if<sizeof...(ELEMENTS) + 1 == DIMENSIONS>::type>
ROOT::Experimental::Hist::RCoordArray< DIMENSIONS >::RCoordArray ( double  x,
ELEMENTS...  el 
)
inline

Construction with one double per DIMENSION.

Definition at line 34 of file RHistUtils.hxx.

◆ RCoordArray() [3/4]

template<int DIMENSIONS>
template<class T , class... ELEMENTS, class = typename std::enable_if<sizeof...(ELEMENTS) + 1 != DIMENSIONS>::type>
ROOT::Experimental::Hist::RCoordArray< DIMENSIONS >::RCoordArray ( ,
ELEMENTS...   
)
inline

Fallback constructor, invoked if the one above fails because of the wrong number of arguments / coordinates.

Definition at line 39 of file RHistUtils.hxx.

◆ RCoordArray() [4/4]

template<int DIMENSIONS>
ROOT::Experimental::Hist::RCoordArray< DIMENSIONS >::RCoordArray ( double(&)  arr[DIMENSIONS])
inline

Construction from a C-style array.

Definition at line 44 of file RHistUtils.hxx.

Collaboration diagram for ROOT::Experimental::Hist::RCoordArray< DIMENSIONS >:
[legend]

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