pex_tutorial.cpp
Go to the documentation of this file.
1 /** @file pex_tutorial.cpp
2 
3 Tutorial, example plugin. This tutorial demonstrates
4 how 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
15 using namespace faudes;
16 
17 
18 /** Run the tutorial */
19 int 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:495
#define FAUDES_TEST_DUMP(mes, dat)
Definition: cfl_utils.h:485
void Write(const Type *pContext=0) const
Definition: cfl_types.cpp:140
void AlternativeAccessible(Generator &rGen)
int main()

libFAUDES 2.33b --- 2025.05.07 --- c++ api documentaion by doxygen