Prints the annotation strings for each element in a given model.
#include <stdio.h>
void printAnnotation(
SBase_t *sb,
const char*
id )
{
printf("----- %s (%s) annotation -----\n%s\n\n"
, id
);
}
int
main (int argc, char* argv[])
{
unsigned int i,j,errors;
const char* filename;
if (argc != 2)
{
printf("\nUsage: printAnnotation filename\n\n");
return 1;
}
filename = argv[1];
printf("\n%s\n\n", filename);
if(errors > 0)
{
return errors;
}
{
{
}
{
}
{
}
{
{
}
}
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
{
}
{
printAnnotation((
SBase_t*) dl,
"");
}
{
}
}
{
}
{
}
return errors;
}