17 #ifndef __ESCRIPT_PARAMS_H__ 18 #define __ESCRIPT_PARAMS_H__ 20 #include <boost/python/list.hpp> 23 #include <unordered_set> 35 int getInt(
const std::string& name,
int sentinel = 0)
const;
36 void setInt(
const std::string& name,
int value);
46 bool hasFeature(
const std::string& name)
const;
70 escriptParams.
setInt(name, value);
79 return escriptParams.
getInt(name, sentinel);
111 #endif // __ESCRIPT_PARAMS_H__ int tooManyLines
Definition: EscriptParams.h:58
boost::python::list listEscriptParams() const
Definition: EscriptParams.cpp:154
int getTooManyLevels() const
Definition: EscriptParams.h:43
int autoLazy
Definition: EscriptParams.h:53
Definition: AbstractContinuousDomain.cpp:22
int getInt(const std::string &name, int sentinel=0) const
Definition: EscriptParams.cpp:117
EscriptParams()
Definition: EscriptParams.cpp:31
bool hasFeature(const std::string &name) const
Definition: EscriptParams.cpp:166
int getLazyStrFmt() const
Definition: EscriptParams.h:40
int tooManyLevels
Definition: EscriptParams.h:57
int getEscriptParamInt(const std::string &name, int sentinel=0)
get the value of a named parameter. See listEscriptParams() for available parameters.
Definition: EscriptParams.h:77
int getLazyVerbose() const
Definition: EscriptParams.h:41
void setInt(const std::string &name, int value)
Definition: EscriptParams.cpp:136
boost::python::list listFeatures() const
Definition: EscriptParams.cpp:182
Definition: EscriptParams.h:28
int getAutoLazy() const
Definition: EscriptParams.h:39
EscriptParams escriptParams
Definition: EscriptParams.cpp:28
int resolveCollective
Definition: EscriptParams.h:56
void setEscriptParamInt(const std::string &name, int value)
Set the value of a named parameter. See listEscriptParams() for available parameters.
Definition: EscriptParams.h:68
int getResolveCollective() const
Definition: EscriptParams.h:42
FeatureSet features
Definition: EscriptParams.h:50
std::unordered_set< std::string > FeatureSet
Definition: EscriptParams.h:30
int getTooManyLines() const
Definition: EscriptParams.h:44
int lazyVerbose
Definition: EscriptParams.h:55
int lazyStrFmt
Definition: EscriptParams.h:54