├── test ├── .gitignore ├── mtoc.sh.in ├── update_refs.sh ├── test │ └── +grid │ │ └── +rect │ │ ├── @rectgrid │ │ ├── test.m │ │ ├── plot.m │ │ └── rectgrid.m │ │ └── doxygen_in_namespace.m ├── conf ├── test.sh.in ├── conf2 ├── test2_ref.cc ├── test_ref.cc ├── plot2_ref.cc ├── plot_ref.cc ├── doxygen.m ├── classA.m ├── doxygen_in_namespace_ref.cc ├── doxygen_in_namespace2_ref.cc ├── doxygen_ref.cc └── doxygen2_ref.cc ├── src ├── docs │ ├── logo.jpg │ ├── namespaces.c │ ├── footer.html │ ├── tabs.css │ ├── +examples │ │ ├── structArgFunc.m │ │ ├── InheritedClass.m │ │ └── Class.m │ ├── mainpage.c.in │ ├── tipps.c │ ├── faq.c │ ├── troubleshooting.c │ ├── download_licenses.c.in │ ├── changelist.c │ ├── DoxygenLayout.xml │ ├── install.c │ └── tools.c ├── config.h.in ├── mtocpp.cc ├── confscanner.h ├── postprocess.rl └── dirent_msvc.h ├── win32 ├── mtocpp.exe ├── debug │ ├── mtocpp.exe │ ├── mtocpp.ilk │ ├── mtocpp.pdb │ ├── mtocpp_post.exe │ ├── mtocpp_post.ilk │ └── mtocpp_post.pdb └── mtocpp_post.exe ├── win64 ├── mtocpp.exe ├── debug │ ├── mtocpp.exe │ ├── mtocpp.ilk │ ├── mtocpp.pdb │ ├── mtocpp_post.exe │ ├── mtocpp_post.ilk │ └── mtocpp_post.pdb └── mtocpp_post.exe ├── INSTALL ├── ragel-guide-6.6.pdf ├── makepublidocs.sh ├── .gitignore ├── tools └── config │ ├── latexextras.template │ ├── developers.c │ ├── mtocpp.conf │ └── class_substitutes.c ├── cmake ├── WindowsToolChain.cmake └── FindRagel.cmake ├── LICENSE ├── .project ├── README.rst └── CMakeLists.txt /test/.gitignore: -------------------------------------------------------------------------------- 1 | *.cc 2 | !*_ref.cc 3 | .gdbinit 4 | mtoc.sh 5 | -------------------------------------------------------------------------------- /test/mtoc.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | @CMAKE_CURRENT_BINARY_DIR@/mtocpp $1 conf 4 | -------------------------------------------------------------------------------- /src/docs/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/src/docs/logo.jpg -------------------------------------------------------------------------------- /win32/mtocpp.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win32/mtocpp.exe -------------------------------------------------------------------------------- /win64/mtocpp.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win64/mtocpp.exe -------------------------------------------------------------------------------- /INSTALL: -------------------------------------------------------------------------------- 1 | Please check http://www.morepas.org/software/mtocpp for installation instructions. -------------------------------------------------------------------------------- /ragel-guide-6.6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/ragel-guide-6.6.pdf -------------------------------------------------------------------------------- /win32/debug/mtocpp.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win32/debug/mtocpp.exe -------------------------------------------------------------------------------- /win32/debug/mtocpp.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win32/debug/mtocpp.ilk -------------------------------------------------------------------------------- /win32/debug/mtocpp.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win32/debug/mtocpp.pdb -------------------------------------------------------------------------------- /win32/mtocpp_post.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win32/mtocpp_post.exe -------------------------------------------------------------------------------- /win64/debug/mtocpp.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win64/debug/mtocpp.exe -------------------------------------------------------------------------------- /win64/debug/mtocpp.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win64/debug/mtocpp.ilk -------------------------------------------------------------------------------- /win64/debug/mtocpp.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win64/debug/mtocpp.pdb -------------------------------------------------------------------------------- /win64/mtocpp_post.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win64/mtocpp_post.exe -------------------------------------------------------------------------------- /test/update_refs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | for i in *_ref.cc; 4 | do 5 | cp ${i/_ref/} $i; 6 | done 7 | -------------------------------------------------------------------------------- /win32/debug/mtocpp_post.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win32/debug/mtocpp_post.exe -------------------------------------------------------------------------------- /win32/debug/mtocpp_post.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win32/debug/mtocpp_post.ilk -------------------------------------------------------------------------------- /win32/debug/mtocpp_post.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win32/debug/mtocpp_post.pdb -------------------------------------------------------------------------------- /win64/debug/mtocpp_post.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win64/debug/mtocpp_post.exe -------------------------------------------------------------------------------- /win64/debug/mtocpp_post.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win64/debug/mtocpp_post.ilk -------------------------------------------------------------------------------- /win64/debug/mtocpp_post.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdrohmann/mtocpp/HEAD/win64/debug/mtocpp_post.pdb -------------------------------------------------------------------------------- /makepublidocs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | DIR=../morepas_web/software/mtocpp/docs 3 | cd build 4 | rm -rf $DIR 5 | cmake -DCMAKE_INSTALL_PREFIX="~/agh" -DCUSTOM_DOC_DIR="$DIR" .. 6 | make install 7 | -------------------------------------------------------------------------------- /test/test/+grid/+rect/@rectgrid/test.m: -------------------------------------------------------------------------------- 1 | function ret = test(auto_param,b,c) 2 | % function ret = test(a,b,c) 3 | % This is a test for a statical method declared outside of the classdef file 4 | % 5 | % Parameters: 6 | % b: second parameter 7 | % c: third parameter of type test 8 | 9 | 10 | end 11 | -------------------------------------------------------------------------------- /src/docs/namespaces.c: -------------------------------------------------------------------------------- 1 | /** @namespace examples 2 | * @brief A namespace/package for example files 3 | * 4 | * @note If you use the 'SHOW_NAMESPACES' option in your 'doxygen' 5 | * configuration file, you need to document @b all your namespaces/packages at 6 | * least with a brief description text. This should be done in a separate file. 7 | * @sa 'namespaces.c' in the 'share/doc/mtoccpp' directory for details. 8 | */ 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gdbinit 2 | .settings 3 | *.o 4 | mtoc 5 | postprocess 6 | accesstest 7 | test/html 8 | src/docs/doxygen.conf 9 | .gdbinit 10 | test/*.cc 11 | CMakeCache.txt 12 | CMakeFiles 13 | *.sw[op] 14 | !test/*_ref.cc 15 | docs/ 16 | !src/docs 17 | build/ 18 | build64/ 19 | *.*~ 20 | *.diff 21 | *.zip 22 | *.tar.gz 23 | published/ 24 | website 25 | problems/ 26 | Debug/ 27 | morepas_web 28 | old_versions 29 | make*.sh 30 | src/docs/download_licenses.c 31 | src/docs/mainpage.c 32 | -------------------------------------------------------------------------------- /test/test/+grid/+rect/@rectgrid/plot.m: -------------------------------------------------------------------------------- 1 | function p = plot(grid,params) 2 | %function p = plot(grid [,params]) 3 | % plot function 4 | % 5 | % Parameters: 6 | % params: object of type plot_params 7 | % 8 | % plot of a rectgrid via plot_polygon_grid 9 | % see help plot_polygon_grid for further information 10 | 11 | % Bernard Haasdonk 9.5.2007 12 | 13 | if (nargin <2) 14 | params = []; 15 | end; 16 | 17 | % simply forward the call 18 | p = plot_polygon_grid(grid,params); 19 | % TO BE ADJUSTED TO NEW SYNTAX 20 | %| \docupdate 21 | -------------------------------------------------------------------------------- /tools/config/latexextras.template: -------------------------------------------------------------------------------- 1 | % Additional LaTeX inclusions for mtoc++/doxygen tools 2 | % 3 | % Use the _ConfDir_ tag to insert the folder where this file resides. 4 | % Thus you can include more custom latex files/styles/packages which reside in this folder 5 | 6 | % Default packages 7 | \usepackage{amsmath} 8 | \usepackage{amssymb} 9 | %\usepackage{amsfonts} 10 | %\usepackage{subfig} 11 | %\usepackage{bbm} 12 | 13 | % Inclusion example: 14 | % Please note that, independent of windows or unix, latex uses forward-slash-type paths in bibliography. 15 | %\input{_ConfDirFwdSlash_/myexternalstyle.sty} -------------------------------------------------------------------------------- /cmake/WindowsToolChain.cmake: -------------------------------------------------------------------------------- 1 | # the name of the target operating system 2 | SET(CMAKE_SYSTEM_NAME Windows) 3 | 4 | # which compilers to use for C and C++ 5 | SET(CMAKE_C_COMPILER i586-mingw32msvc-gcc) 6 | SET(CMAKE_CXX_COMPILER i586-mingw32msvc-g++) 7 | SET(CMAKE_RC_COMPILER i586-mingw32msvc-windres) 8 | 9 | # here is the target environment located 10 | SET(CMAKE_FIND_ROOT_PATH /usr/i586msvc-mingw32) 11 | 12 | # adjust the default behaviour of the FIND_XXX() commands: 13 | # search headers and libraries in the target environment, search 14 | # programs in the host environment 15 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 16 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 17 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 18 | -------------------------------------------------------------------------------- /src/docs/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
12 | 13 | 14 |
17 | $doxygenversion
18 |
19 |
20 |