-
- Downloads
Various filesystem refactorings
– DataTree::packageDir() now takes a std::string_view, returns a std::filesystem::path, and no longer creates that directory – DataTree::writeToFileIfModified() now takes a std::filesystem::path as argument – Do not call DataTree::writeToFileIfModified() for generating MATLAB/Octave files, since it does not work (the directory inside which the file is written has been deleted by the preprocessor just before) – Consistently use DataTree::packageDir() everywhere (for compatibility with planner_objective)
Showing
- src/DataTree.cc 8 additions, 9 deletionssrc/DataTree.cc
- src/DataTree.hh 5 additions, 4 deletionssrc/DataTree.hh
- src/DynamicModel.cc 41 additions, 16 deletionssrc/DynamicModel.cc
- src/DynamicModel.hh 2 additions, 2 deletionssrc/DynamicModel.hh
- src/ModFile.cc 12 additions, 10 deletionssrc/ModFile.cc
- src/ModelEquationBlock.cc 20 additions, 5 deletionssrc/ModelEquationBlock.cc
- src/ModelTree.hh 1 addition, 1 deletionsrc/ModelTree.hh
- src/StaticModel.cc 40 additions, 15 deletionssrc/StaticModel.cc
- src/StaticModel.hh 2 additions, 2 deletionssrc/StaticModel.hh
- src/SubModel.cc 6 additions, 6 deletionssrc/SubModel.cc
Loading
Please register or sign in to comment