MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
tomlutils.h File Reference

Go to the source code of this file.

Classes

struct  maia::io::toml::Enum2Type< MSTRING >
 
struct  maia::io::toml::Enum2Type< MINT >
 
struct  maia::io::toml::Enum2Type< MFLOAT >
 
struct  maia::io::toml::Enum2Type< MBOOL >
 
struct  maia::io::toml::TypeTraits< MString >
 
struct  maia::io::toml::TypeTraits< MInt >
 
struct  maia::io::toml::TypeTraits< MFloat >
 
struct  maia::io::toml::TypeTraits< MBool >
 
class  maia::io::toml::Property
 Class that represents a single key-value pair for TOML properties. More...
 

Namespaces

namespace  maia
 Namespace for auxiliary functions/classes.
 
namespace  maia::io
 
namespace  maia::io::toml
 

Functions

VariableType maia::io::toml::value2type (const std::shared_ptr< cpptoml::base > &value)
 Obtain type information from TOML value. More...
 
Property maia::io::toml::makeProperty (const MString &name, const std::shared_ptr< cpptoml::base > &item)
 Create property from cpptoml item. More...
 
void maia::io::toml::collectSolverAliases (const std::shared_ptr< cpptoml::table > &tab, std::map< std::string, int > &solverAliases)
 Non-recursive search for solver aliases. More...
 
void maia::io::toml::collectProperties (const std::shared_ptr< cpptoml::table > &tab, std::vector< std::string > &names, std::vector< Property > &properties, std::map< std::string, int > &solverAliases)
 Recursively traverse TOML table and collect all properties with name, type, and count. More...
 
void maia::io::toml::collectProperties (const std::shared_ptr< cpptoml::table > &tab, std::vector< Property > &properties, std::map< std::string, int > &solverAliases)
 Helper function to not have to provide a names array oneself. More...
 
void maia::io::toml::collectProperties (const std::shared_ptr< cpptoml::table > &tab, std::vector< Property > &properties)
 Helper function to not have to provide a names array oneself. More...