Sample code

Here goes some coding examples, from simple to complex.

This is a example written in pure C and it shows how to load the whole database, then prints it to stdout and finally saves the whole database to a new XML file.

This is a more complex sample in C++ which shows how to do database lookups. The results found are saved to a new XML file.

This is a more or less complex command-line application which can access most library functionality. It has been used as the main library testbed.


Generated on Thu Aug 19 02:34:28 2010 for lensfun by  doxygen 1.5.4