|
Go to the documentation of this file.
24 using namespace faudes;
32 int main ( int argc, char **argv) {
41 lfdef1. Read( "data/largegen.rti");
44 std::cout << "################################\n";
45 std::cout << "# lua extension from rti file\n";
47 std::cout << "################################\n";
52 std::cout << "script seems ok\n";
54 std::cout << err << "\n";
62 std::cout << "# ERR: the two definitions should be equal\n";
67 std::cout << "################################\n";
68 std::cout << "# copy of lua extension\n";
70 std::cout << "################################\n";
93 std::cout << "################################\n";
94 std::cout << "# statistics \n";
96 std::cout << "################################\n";
107 lfdef3. Read( "data/xtractalph.rti");
116 std::cout << "################################\n";
117 std::cout << "# alphabet \n";
119 std::cout << "################################\n";
130 Type* vgen_ftype = (( Type*)(vgen_vgen));
131 void* vgen_void = (( void*)(vgen_vgen));
132 void* vgen_void_ftype = (( void*)(vgen_ftype));
133 std::cout << "C++ casting of a Generator: " <<
134 " vgen at " << &vgen_vgen << ", ftype at " << vgen_ftype << ", void at " << vgen_void <<
135 ", void via ftype at " << vgen_void_ftype << "\n";
139 Type* cevs_ftype = (( Type*)(cevs_cevs));
140 void* cevs_void = (( void*)(cevs_cevs));
141 void* cevs_void_ftype = ( ( void*)(cevs_ftype));
142 void* cevs_dvoid_ftype = ( dynamic_cast<void* >(cevs_ftype));
143 std::cout << "C++ casting a Alphabet: " <<
144 " cevs at " << &cevs_cevs << ", ftype at " << cevs_ftype << ", void at " << cevs_void <<
145 ", void via ftype at " << cevs_void_ftype <<
146 ", dynamic-void via ftype at " << cevs_dvoid_ftype << "\n";
libFAUDES 2.26g
--- 2015.08.17
--- c++ api documentaion by doxygen
|