|
| | Substitutions (const Substitutions *parent=nullptr) |
| |
| | Substitutions (const std::vector< FunctionTemplate > &functions) |
| |
| template<typename T > |
| void | addVarNameSubstitution (const std::vector< T > &variables, const std::string &sourceSuffix="", const std::string &destPrefix="", const std::string &destSuffix="") |
| |
| template<typename T , typename S > |
| void | addVarNameSubstitution (const std::vector< T > &variables, const std::string &sourceSuffix, const std::string &destPrefix, S getDestSuffixFn) |
| |
| template<typename T > |
| void | addVarValueSubstitution (const std::vector< T > &variables, const std::vector< double > &values, const std::string &sourceSuffix="") |
| |
| void | addParamValueSubstitution (const std::vector< std::string > ¶mNames, const std::vector< double > &values, const std::string &sourceSuffix="") |
| |
| template<typename G > |
| void | addParamValueSubstitution (const std::vector< std::string > ¶mNames, const std::vector< double > &values, G isHeterogeneousFn, const std::string &sourceSuffix="", const std::string &destPrefix="", const std::string &destSuffix="") |
| |
| template<typename T , typename G > |
| void | addVarValueSubstitution (const std::vector< T > &variables, const std::vector< double > &values, G isHeterogeneousFn, const std::string &sourceSuffix="", const std::string &destPrefix="", const std::string &destSuffix="") |
| |
| void | addVarSubstitution (const std::string &source, const std::string &destionation, bool allowOverride=false) |
| |
| void | addFuncSubstitution (const std::string &source, unsigned int numArguments, const std::string &funcTemplate, bool allowOverride=false) |
| |
| bool | hasVarSubstitution (const std::string &source) const |
| |
| const std::string & | getVarSubstitution (const std::string &source) const |
| |
| void | apply (std::string &code) const |
| |
| void | applyCheckUnreplaced (std::string &code, const std::string &context) const |
| |
| const std::string | operator[] (const std::string &source) const |
| |