class Gambit::SetMaps

FptrFinder friend class for implementing named parameter idiom. More…

#include <spec_fptrfinder.hpp>

Public Types

Name
typedef HostSpec::DD
Type of derived spectrum wrapper is known to HostSpec as D.

Public Functions

Name
SetMaps(const std::string & label, HostSpec *const fakethis)
SetMaps(const std::string & label, const HostSpec *const fakethis)
Version to deal with const host object.
SetMaps &map0(const typename MapTypes< D, MTag >::fmap0 & map0)
derived class maps
SetMaps &map1(const typename MapTypes< D, MTag >::fmap1 & map1)
SetMaps &map2(const typename MapTypes< D, MTag >::fmap2 & map2)
SetMaps &map0W(const typename MapTypes< D, MTag >::fmap0W & map0W)
SetMaps &map1W(const typename MapTypes< D, MTag >::fmap1W & map1W)
SetMaps &map2W(const typename MapTypes< D, MTag >::fmap2W & map2W)
SetMaps &map0M(const typename MapTypes< D, MTag >::fmap0_extraM & map0M)
SetMaps &map1M(const typename MapTypes< D, MTag >::fmap1_extraM & map1M)
SetMaps &map2M(const typename MapTypes< D, MTag >::fmap2_extraM & map2M)
SetMaps &map0I(const typename MapTypes< D, MTag >::fmap0_extraI & map0I)
SetMaps &map1I(const typename MapTypes< D, MTag >::fmap1_extraI & map1I)
SetMaps &map2I(const typename MapTypes< D, MTag >::fmap2_extraI & map2I)
SetMaps &omap0(const std::map< std::string, double > & om0)
base class override maps
SetMaps &omap1(const std::map< std::string, std::map< int, double > > & om1)
SetMaps &omap2(const std::map< std::string, std::map< int, std::map< int, double > > > & om2)
SetMaps &no_overrides(const bool flag)
Flag to disable searching of override maps (for retrieving original, unoverriden values)
SetMaps &override_only(const bool flag)
Flag to permit searching only override maps.

Friends

Name
classFptrFinder< HostSpec, MTag >

Detailed Description

template <class HostSpec ,
class MTag >
class Gambit::SetMaps;

FptrFinder friend class for implementing named parameter idiom.

Forward declarations related to FptrFinder class.

Public Types Documentation

typedef D

typedef HostSpec::D Gambit::SetMaps< HostSpec, MTag >::D;

Type of derived spectrum wrapper is known to HostSpec as D.

Public Functions Documentation

function SetMaps

inline SetMaps(
    const std::string & label,
    HostSpec *const fakethis
)

function SetMaps

inline SetMaps(
    const std::string & label,
    const HostSpec *const fakethis
)

Version to deal with const host object.

function map0

inline SetMaps & map0(
    const typename MapTypes< D, MTag >::fmap0 & map0
)

derived class maps

function map1

inline SetMaps & map1(
    const typename MapTypes< D, MTag >::fmap1 & map1
)

function map2

inline SetMaps & map2(
    const typename MapTypes< D, MTag >::fmap2 & map2
)

function map0W

inline SetMaps & map0W(
    const typename MapTypes< D, MTag >::fmap0W & map0W
)

function map1W

inline SetMaps & map1W(
    const typename MapTypes< D, MTag >::fmap1W & map1W
)

function map2W

inline SetMaps & map2W(
    const typename MapTypes< D, MTag >::fmap2W & map2W
)

function map0M

inline SetMaps & map0M(
    const typename MapTypes< D, MTag >::fmap0_extraM & map0M
)

function map1M

inline SetMaps & map1M(
    const typename MapTypes< D, MTag >::fmap1_extraM & map1M
)

function map2M

inline SetMaps & map2M(
    const typename MapTypes< D, MTag >::fmap2_extraM & map2M
)

function map0I

inline SetMaps & map0I(
    const typename MapTypes< D, MTag >::fmap0_extraI & map0I
)

function map1I

inline SetMaps & map1I(
    const typename MapTypes< D, MTag >::fmap1_extraI & map1I
)

function map2I

inline SetMaps & map2I(
    const typename MapTypes< D, MTag >::fmap2_extraI & map2I
)

function omap0

inline SetMaps & omap0(
    const std::map< std::string, double > & om0
)

base class override maps

function omap1

inline SetMaps & omap1(
    const std::map< std::string, std::map< int, double > > & om1
)

function omap2

inline SetMaps & omap2(
    const std::map< std::string, std::map< int, std::map< int, double > > > & om2
)

function no_overrides

inline SetMaps & no_overrides(
    const bool flag
)

Flag to disable searching of override maps (for retrieving original, unoverriden values)

function override_only

inline SetMaps & override_only(
    const bool flag
)

Flag to permit searching only override maps.

Friends

friend FptrFinder< HostSpec, MTag >

friend class FptrFinder< HostSpec, MTag >(
    FptrFinder< HostSpec, MTag > 
);

Updated on 2024-07-18 at 13:53:30 +0000