Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JTOOLS::JAbstractMultiMap< N, JAbscissa_t > Struct Template Referenceabstract

Abstract interface for abscissa values of a multidimensional map. More...

#include <JAbstractMultiMap.hh>

Inheritance diagram for JTOOLS::JAbstractMultiMap< N, JAbscissa_t >:
JTOOLS::JMultiGrid< N, JAbscissa_t > JTOOLS::JMultiSet< N, JAbscissa_t >

Public Types

typedef JAbscissa_t abscissa_type
 
typedef JMultiKey< N - 1, abscissa_typekey_type
 

Public Member Functions

virtual ~JAbstractMultiMap ()
 Virtual destructor.
 
virtual const JAbstractCollection< abscissa_type > & operator() (const key_type &key) const =0
 Get abscissa values as a function of given key.
 

Detailed Description

template<unsigned int N, class JAbscissa_t>
struct JTOOLS::JAbstractMultiMap< N, JAbscissa_t >

Abstract interface for abscissa values of a multidimensional map.

The template parameters refer to the dimension of the multimap and the data type of the abscissa values, respectively.

Definition at line 24 of file JAbstractMultiMap.hh.

Member Typedef Documentation

◆ abscissa_type

template<unsigned int N, class JAbscissa_t >
JAbscissa_t JTOOLS::JAbstractMultiMap< N, JAbscissa_t >::abscissa_type

Definition at line 27 of file JAbstractMultiMap.hh.

◆ key_type

template<unsigned int N, class JAbscissa_t >
JMultiKey<N - 1, abscissa_type> JTOOLS::JAbstractMultiMap< N, JAbscissa_t >::key_type

Definition at line 28 of file JAbstractMultiMap.hh.

Constructor & Destructor Documentation

◆ ~JAbstractMultiMap()

template<unsigned int N, class JAbscissa_t >
virtual JTOOLS::JAbstractMultiMap< N, JAbscissa_t >::~JAbstractMultiMap ( )
inlinevirtual

Virtual destructor.

Definition at line 36 of file JAbstractMultiMap.hh.

37 {}

Member Function Documentation

◆ operator()()

template<unsigned int N, class JAbscissa_t >
virtual const JAbstractCollection< abscissa_type > & JTOOLS::JAbstractMultiMap< N, JAbscissa_t >::operator() ( const key_type & key) const
pure virtual

Get abscissa values as a function of given key.

Parameters
keykey
Returns
abscissa values

Implemented in JTOOLS::JMultiGrid< N, JAbscissa_t >, and JTOOLS::JMultiSet< N, JAbscissa_t >.


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