1 #ifndef HAVE_CODE_GENERATOR_HPP 2 #define HAVE_CODE_GENERATOR_HPP 11 void searchReplace(std::string& str,
const std::string& oldStr,
12 const std::string& newStr);
18 std::string header_comment;
19 std::string float_str;
21 std::string float_ptr();
22 std::string void_str();
24 void write_header_comment();
28 void write_common(std::ostringstream& buffer, code_config cfg,
size_t node);
30 void write_forward(global& glob, code_config cfg = code_config());
32 void write_reverse(global& glob, code_config cfg = code_config());
34 void write_all(global glob, code_config cfg = code_config());
37 #endif // HAVE_CODE_GENERATOR_HPP Automatic differentiation library designed for TMB.