ABLATE Source Documentation  0.12.34
ablate::parameters::Parameters Class Referenceabstract
+ Inheritance diagram for ablate::parameters::Parameters:

Public Member Functions

virtual std::optional< std::string > GetString (std::string paramName) const =0
 
virtual std::unordered_set< std::string > GetKeys () const =0
 
template<typename T >
std::optional< T > Get (std::string paramName) const
 
template<typename T >
Get (std::string paramName, T defaultValue) const
 
template<typename T >
GetExpect (std::string paramName) const
 
template<typename T >
std::map< std::string, T > ToMap () const
 
void Fill (PetscOptions options) const
 
template<typename T >
void Fill (int numberValues, const char *const *valueNames, T *constantArray) const
 
template<typename T >
void Fill (int numberValues, const char *const *valueNames, T *constantArray, std::map< std::string, T > defaultValues) const
 

Member Function Documentation

◆ ToMap()

template<typename T >
std::map<std::string, T> ablate::parameters::Parameters::ToMap ( ) const
inline

tries to convert each item in this parameter to T and places in map

Template Parameters
T
Parameters
paramName
Returns

The documentation for this class was generated from the following files: