ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ScriptInterface::Scafacos Namespace Reference

Classes

struct  ConvertToStringVector
 
struct  GetParameterList
 

Functions

std::vector< std::string > available_methods ()
 Fetch list of methods compiled in ScaFaCoS.
 
std::string serialize_parameters (Variant const &pack)
 Flatten a parameter map.
 
template<typename T >
std::optional< Variantstring_to_number (std::string const &s)
 
std::unordered_map< std::string, Variantdeserialize_parameters (std::string const &parameters)
 Convert flattened parameters to a map.
 

Function Documentation

◆ available_methods()

std::vector< std::string > ScriptInterface::Scafacos::available_methods ( )

◆ deserialize_parameters()

std::unordered_map< std::string, Variant > ScriptInterface::Scafacos::deserialize_parameters ( std::string const parameters)

◆ serialize_parameters()

std::string ScriptInterface::Scafacos::serialize_parameters ( Variant const pack)

◆ string_to_number()

template<typename T >
std::optional< Variant > ScriptInterface::Scafacos::string_to_number ( std::string const s)

Definition at line 139 of file scafacos.cpp.

References ScriptInterface::get_value().