|
Go to the documentation of this file.
21 using namespace faudes;
29 int main ( int argc, char **argv) {
38 lfdef1. Read( "data/largegen.rti");
41 std::cout << "################################\n";
42 std::cout << "# lua extension from rti file\n";
44 std::cout << "################################\n";
49 std::cout << "script seems ok\n";
51 std::cout << err << "\n";
59 std::cout << "# ERR: the two definitions should be equal\n";
64 std::cout << "################################\n";
65 std::cout << "# copy of lua extension\n";
67 std::cout << "################################\n";
90 std::cout << "################################\n";
91 std::cout << "# statistics \n";
93 std::cout << "################################\n";
104 lfdef3. Read( "data/xtractalph.rti");
113 std::cout << "################################\n";
114 std::cout << "# alphabet \n";
116 std::cout << "################################\n";
127 Type* vgen_ftype = (( Type*)(vgen_vgen));
128 void* vgen_void = (( void*)(vgen_vgen));
129 void* vgen_void_ftype = (( void*)(vgen_ftype));
130 std::cout << "C++ casting of a Generator: " <<
131 " vgen at " << &vgen_vgen << ", ftype at " << vgen_ftype << ", void at " << vgen_void <<
132 ", void via ftype at " << vgen_void_ftype << "\n";
136 Type* cevs_ftype = (( Type*)(cevs_cevs));
137 void* cevs_void = (( void*)(cevs_cevs));
138 void* cevs_void_ftype = ( ( void*)(cevs_ftype));
139 void* cevs_dvoid_ftype = ( dynamic_cast<void* >(cevs_ftype));
140 std::cout << "C++ casting a Alphabet: " <<
141 " cevs at " << &cevs_cevs << ", ftype at " << cevs_ftype << ", void at " << cevs_void <<
142 ", void via ftype at " << cevs_void_ftype <<
143 ", dynamic-void via ftype at " << cevs_dvoid_ftype << "\n";
libFAUDES 2.28c
--- 2016.09.30
--- c++ api documentaion by doxygen
|