![]() |
Iguana LATEST
Implementation Guardian of Analysis Algorithms
|
general algorithm tools
Functions | |
| hipo::banklist::size_type | GetBankIndex (hipo::banklist &banks, std::string const &bank_name, unsigned int const &variant=0) noexcept(false) |
| hipo::banklist::size_type iguana::tools::GetBankIndex | ( | hipo::banklist & | banks, |
| std::string const & | bank_name, | ||
| unsigned int const & | variant = 0 ) |
Get the index of a bank from a hipo::banklist.
| banks | the hipo::banklist from which to get the specified bank |
| bank_name | the name of the bank |
| variant | if 0, the first bank named bank_name in banks will be returned; if 1, the 2nd such bank will be returned, etc.; note, you can call Algorithm::GetCreatedBankVariant to get the created-bank variant number for a specific algorithm |