Computer Assited Medical Intervention Tool Kit  version 3.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Functions | Variables
pmldiff.cpp File Reference
#include <iostream>
#include <string>
#include <math.h>
#include <PhysicalModel.h>
#include <StructuralComponent.h>
#include <Loads.h>
#include <Translation.h>
#include <map>
+ Include dependency graph for pmldiff.cpp:

Classes

class  ProgramArg
 TODO Comment class here. More...
 

Functions

ProgramArg argVal (defaultsArg, sizeof defaultsArg/sizeof *defaultsArg)
 
int main (int argc, char **argv)
 
void printArg ()
 
void processArg ()
 

Variables

string defaultsArg [][2]
 
string destFile
 
string output
 
string srcFile
 
const char * usage
 

Function Documentation

ProgramArg argVal ( defaultsArg  ,
sizeof defaultsArg/sizeof *  defaultsArg 
)

Referenced by main(), and processArg().

int main ( int  argc,
char **  argv 
)
void printArg ( )

References destFile, output, and srcFile.

Referenced by main().

void processArg ( )

References argVal(), destFile, output, srcFile, and usage.

Referenced by main().

Variable Documentation

string defaultsArg[][2]
Initial value:
= {
{ "-src", "none" },
{ "-dest", "none" },
{ "-o", "pmldiff-output.lml" },
}
string destFile

Referenced by main(), printArg(), and processArg().

string output

Referenced by main(), printArg(), and processArg().

string srcFile

Referenced by main(), printArg(), and processArg().

const char* usage
Initial value:
= "usage:\n"
"pmldiff -src=f1.pml -dest=f2.pml [-o=diff.lml]\n"
"Create a LML document which contains the translations needed to transform f1.pml to f2.pml\n"
"(Note no space around '=')\n"
"Where mandatory flags are: \n"
"src (source pml document), dest (destination pml document)\n"
"The optional o flag allows one to specify the resulting LML file name\n"

Referenced by main(), and processArg().