.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.4. .TH CLAMNETWORK2CODE.PY "1" "February 2011" "clamnetwork2code 1.4" "User Commands" .SH NAME clamnetwork2code \- Generates C++ to build a CLAM network .SH SYNOPSIS .B clamnetwork2code \fInetworkFile \fR[\fIclassNameSuffix\fR] .SH DESCRIPTION This script takes a CLAM network xml file and generates C++ code to build such a network. The resulting network should be equivalent to load the xml with CLAM storage methods. The generated code defines a class named CLAM::NetworkDefinition_ where suffix is either the second parameter classNameSuffix or the basename of the networkfile if the suffix is not provided. Such class has a method called setUp that fills a network with the proper processings, description, connections and so on. .SH OPTIONS .TP \fB\-\-version\fR show program's version number and exit .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-test\fR Runs script tests .PP Bear in mind the following limitations: \- Text items are not implemented \- Just configurations with simple objects are supported (no subelements, no attributes). \- Processing names may colide when having non alpha numeric chars in the same positions. \- Spaces are stripped by sax (there might be a problem when parsing xmlentities surrounded by spaces). .SH AUTHOR Written by Angelo Scorza and David Garcia Garzon. .SH COPYRIGHT Copyright \(co 2010, Fundacio Barcelona Media. .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Licence GPLv2+: GNU GPL version 2 or later