class Gambit::FstringArray

[No description available] More…

#include <util_types.hpp>

Inherits from Gambit::Farray< char, 1, len, lims… >

Public Functions

Name
template <typename … Args>
enable_if_all_member< typenameFarray< char, 1, len, lims… >::allowed_types, Fstring< len > *, Args… >::type::type
operator()(Args … a)

Additional inherited members

Protected Classes inherited from Gambit::Farray< char, 1, len, lims… >

Name
structcalc_nElem
structcalc_nElem< limL, limU >
structcalc_nElem< limL, limU, _lims… >

Public Types inherited from Gambit::Farray< char, 1, len, lims… >

Name
typedef calc_nElem< lims… >nElem

Protected Types inherited from Gambit::Farray< char, 1, len, lims… >

Name
typedef mult_types< short, const short, short &, const short &, unsigned short, const unsigned short, unsigned short &, const unsigned short &, int, const int, int &, const int &, unsigned, const unsigned, unsigned &, const unsigned &, long, const long, long &, const long &, unsigned long, const unsigned long, unsigned long &, const unsigned long &, long long, const long long, long long &, const long long &, unsigned long long, const unsigned long long, unsigned long long &, const unsigned long long & >allowed_types

Public Functions inherited from Gambit::Farray< char, 1, len, lims… >

Name
Farray()
Farray(Farray< T, lims… > & in)
Farray< T, lims… > &operator=(const Farray< T, lims… > & orig)
Farray(const T val)
Farray< T, lims… > &operator=(const T val)

Public Attributes inherited from Gambit::Farray< char, 1, len, lims… >

Name
T[nElem::val]array

Detailed Description

template <int len,
int... lims>
class Gambit::FstringArray;

Farray specialization for Fortran arrays of strings. This is an N+1-dimensional char array, where N is the number of dimensions specified by the user (1/2 * the number of array index limits). The special () operator is intended to be used instead of the operators of the Farray base class, and takes 1 argument less than the Farray class operators (the array index for the letters in the strings should not be passed). This operator returns pointers to Fstring objects that can be assigned to and read from. Syntax: FstringArray<[string length], [lower index, dim 1], [upper index, dim 1], [alternating lower/upper indices for subsequent dimensions]> DO NOT UNDER ANY CIRCUMSTANCE add new member variables to this class!

Public Functions Documentation

function operator()

template <typename ... Args>
inline enable_if_all_member< typenameFarray< char, 1, len, lims... >::allowed_types, Fstring< len > *, Args... >::type::type operator()(
    Args ... a
)

Updated on 2023-06-26 at 21:36:50 +0000