|
tfel
|
#include <map>#include <string>#include "TFEL/Utilities/Data.hxx"#include "MFMTestGenerator/Config.hxx"#include "MFMTestGenerator/Forward.hxx"#include "MFMTestGenerator/Evolution.hxx"#include "MFMTestGenerator/TestCaseParameters.ixx"Functions | |
| MFMTG_VISIBILITY_EXPORT bool | mfmtg::contains (const TestCaseParameters &, const std::string &) |
| MFMTG_VISIBILITY_EXPORT bool | mfmtg::contains (const TestCaseParameters &, const char *const) |
| template<typename StringType, typename... StringTypes> | |
| bool | mfmtg::contains (const TestCaseParameters &, const StringType &, const StringTypes &...) |
| template<typename StringType, typename... StringTypes> | |
| const TestCaseParameter & | mfmtg::getParameter (const TestCaseParameters &, const StringType &, const StringTypes &...) |
| MFMTG_VISIBILITY_EXPORT const TestCaseParameter & | mfmtg::getParameter (const TestCaseParameters &, const std::string &) |
| MFMTG_VISIBILITY_EXPORT const TestCaseParameter & | mfmtg::getParameter (const TestCaseParameters &, const char *const) |
| MFMTG_VISIBILITY_EXPORT const TestCaseParameters & | mfmtg::getTestCaseParameters (const TestCaseParameters &, const std::string &) |
| MFMTG_VISIBILITY_EXPORT const TestCaseParameters & | mfmtg::getTestCaseParameters (const TestCaseParameters &, const char *const) |
| template<typename T = std::string, typename StringType, typename... StringTypes> | |
| const T & | mfmtg::get (const TestCaseParameters ¶meters, const StringType &n, const StringTypes &... args) |
| template<typename T = std::string, typename StringType> | |
| const T & | mfmtg::get (const TestCaseParameters &, const StringType &) |
| template<typename T = std::string, typename StringType, typename T2> | |
| T | mfmtg::get_if (const TestCaseParameters &, const StringType &, const T2 &) |
| template<typename StringType, typename... StringTypes> | |
| Evolution | mfmtg::getEvolution (const TestCaseParameters &, const StringType &, const StringTypes &...) |
| MFMTG_VISIBILITY_EXPORT Evolution | mfmtg::getEvolution (const TestCaseParameters &, const std::string &) |
| MFMTG_VISIBILITY_EXPORT Evolution | mfmtg::getEvolution (const TestCaseParameters &, const char *const) |
| template<typename StringType, typename... StringTypes> | |
| std::map< std::string, Evolution > | mfmtg::getEvolutions (const TestCaseParameters &, const StringType &, const StringTypes &..., const bool=true) |
| MFMTG_VISIBILITY_EXPORT std::map< std::string, Evolution > | mfmtg::getEvolutions (const TestCaseParameters &, const std::string &, const bool=true) |
| MFMTG_VISIBILITY_EXPORT std::map< std::string, Evolution > | mfmtg::getEvolutions (const TestCaseParameters &, const char *const, const bool=true) |
| MFMTG_VISIBILITY_EXPORT void | mfmtg::check (const TestCaseParameters &, const std::vector< std::string > &) |
| check that the parameters' names are part of the one given list. | |
| MFMTG_VISIBILITY_EXPORT void | mfmtg::throwInvalidParameterTypeException (const std::string &) |
| MFMTG_VISIBILITY_EXPORT void mfmtg::check | ( | const TestCaseParameters & | , |
| const std::vector< std::string > & | ) |
check that the parameters' names are part of the one given list.
| m | parameters. |
| k | allowed names. |
| MFMTG_VISIBILITY_EXPORT bool mfmtg::contains | ( | const TestCaseParameters & | , |
| const char * const | ) |
| [in] | p | parameters |
| [in] | n | name of the parameter. |
| MFMTG_VISIBILITY_EXPORT bool mfmtg::contains | ( | const TestCaseParameters & | , |
| const std::string & | ) |
| [in] | p | parameters |
| [in] | n | name of the parameter. |
| bool mfmtg::contains | ( | const TestCaseParameters & | , |
| const StringType & | , | ||
| const StringTypes & | ... ) |
| [in] | p | parameters |
| [in] | n | first level identitifer. |
| [in] | args | higher level identifiers. |
| const T & mfmtg::get | ( | const TestCaseParameters & | parameters, |
| const StringType & | n ) |
| [in] | p | parameters |
| [in] | n | name of the parameter to be retrieved. |
| const T & mfmtg::get | ( | const TestCaseParameters & | parameters, |
| const StringType & | n, | ||
| const StringTypes &... | args ) |
| [in] | p | parameters |
| [in] | n | first level identitifer. |
| [in] | args | higher level identifiers. |
| T mfmtg::get_if | ( | const TestCaseParameters & | parameters, |
| const StringType & | n, | ||
| const T2 & | v ) |
| [in] | p | parameters |
| [in] | n | name of the parameter to be retrieved. |
| [in] | v | default value. |
| MFMTG_VISIBILITY_EXPORT Evolution mfmtg::getEvolution | ( | const TestCaseParameters & | , |
| const char * const | ) |
| [in] | p | parameters |
| [in] | n | address of the to be retrieved. |
| MFMTG_VISIBILITY_EXPORT Evolution mfmtg::getEvolution | ( | const TestCaseParameters & | , |
| const std::string & | ) |
| [in] | p | parameters |
| [in] | n | address of the to be retrieved. |
| Evolution mfmtg::getEvolution | ( | const TestCaseParameters & | , |
| const StringType & | , | ||
| const StringTypes & | ... ) |
| [in] | p | parameters |
| [in] | n | first level identitifer. |
| [in] | args | higher level identifiers. |
| MFMTG_VISIBILITY_EXPORT std::map< std::string, Evolution > mfmtg::getEvolutions | ( | const TestCaseParameters & | , |
| const char * const | , | ||
| const bool | = true ) |
| [in] | p | parameters |
| [in] | n | address of the to be retrieved. |
| [in] | b | boolean value. If true and that if the last identifier does not exist, an empty evolution is returned. |
| MFMTG_VISIBILITY_EXPORT std::map< std::string, Evolution > mfmtg::getEvolutions | ( | const TestCaseParameters & | , |
| const std::string & | , | ||
| const bool | = true ) |
| [in] | p | parameters |
| [in] | n | address of the to be retrieved. |
| [in] | b | boolean value. If true and that if the last identifier does not exist, an empty evolution is returned. |
| std::map< std::string, Evolution > mfmtg::getEvolutions | ( | const TestCaseParameters & | , |
| const StringType & | , | ||
| const StringTypes & | ..., | ||
| const bool | = true ) |
| [in] | p | parameters |
| [in] | n | first level identitifer. |
| [in] | args | higher level identifiers. |
| [in] | b | boolean value. If true and that if the last identifier does not exist, an empty evolution is returned. |
| MFMTG_VISIBILITY_EXPORT const TestCaseParameter & mfmtg::getParameter | ( | const TestCaseParameters & | , |
| const char * const | ) |
| [in] | p | parameters |
| [in] | n | name of the parameter to be retrieved. |
| MFMTG_VISIBILITY_EXPORT const TestCaseParameter & mfmtg::getParameter | ( | const TestCaseParameters & | , |
| const std::string & | ) |
| [in] | p | parameters |
| [in] | n | name of the parameter to be retrieved. |
| const TestCaseParameter & mfmtg::getParameter | ( | const TestCaseParameters & | , |
| const StringType & | , | ||
| const StringTypes & | ... ) |
| [in] | p | parameters |
| [in] | n | first level identitifer. |
| [in] | args | higher level identifiers. |
| MFMTG_VISIBILITY_EXPORT const TestCaseParameters & mfmtg::getTestCaseParameters | ( | const TestCaseParameters & | , |
| const char * const | ) |
| [in] | p | parameters |
| [in] | n | name of the parameter to be retrieved. |
| MFMTG_VISIBILITY_EXPORT const TestCaseParameters & mfmtg::getTestCaseParameters | ( | const TestCaseParameters & | , |
| const std::string & | ) |
| [in] | p | parameters |
| [in] | n | name of the parameter to be retrieved. |
| MFMTG_VISIBILITY_EXPORT void mfmtg::throwInvalidParameterTypeException | ( | const std::string & | ) |
| an | exception reporting that the type of the parameter with the given name is not the one that what was requested. |
| [in] | n | name of the missing parameter |