pex_tutorial.cpp
Go to the documentation of this file.
1/** @file pex_tutorial.cpp
2
3Tutorial, example plugin. This tutorial demonstrates
4how to organize tutorials in plugins.
5
6@ingroup Tutorials
7
8@include pex_tutorial.cpp
9
10*/
11
12#include "libfaudes.h"
13
14// make the faudes namespace available to our program
15using namespace faudes;
16
17
18/** Run the tutorial */
19int main() {
20
21 // read generator from file
22 Generator gen("data/g_notacc.gen");
23
24 // run algorithm
26
27 // write result
28 gen.Write("tmp_altacc.gen");
29
30 // Record test case
31 FAUDES_TEST_DUMP("test alt access",gen)
32
33 // Validate result
35
36 // done
37 return 0;
38}
39
40
41
#define FAUDES_TEST_DIFF()
Definition cfl_utils.h:516
#define FAUDES_TEST_DUMP(mes, dat)
Definition cfl_utils.h:506
void Write(const Type *pContext=0) const
void AlternativeAccessible(Generator &rGen)
int main()

libFAUDES 2.34e --- 2026.03.16 --- c++ api documentaion by doxygen