GenerateCLP.cxx File Reference

#include <stdlib.h>
#include <stdio.h>
#include <fstream>
#include "expat.h"
#include <string>
#include <vector>
#include <itksys/SystemTools.hxx>
#include "GenerateCLP.h"
#include "ModuleDescriptionUtilities.h"
#include "ModuleDescriptionParser.h"
#include "ModuleDescription.h"
#include "ModuleParameterGroup.h"
#include "ModuleParameter.h"

Functions

void GenerateEchoArgs (std::ofstream &, ModuleDescription &)
void GenerateExports (std::ofstream &)
void GenerateLOGO (std::ofstream &, std::vector< std::string > &)
void GeneratePluginDataSymbols (std::ofstream &, std::vector< std::string > &, std::string)
void GeneratePluginEntryPoints (std::ofstream &, std::vector< std::string > &)
void GeneratePluginProcedures (std::ofstream &, std::vector< std::string > &)
void GeneratePost (std::ofstream &)
void GeneratePre (std::ofstream &, ModuleDescription &, int, char *[])
void GenerateProcessInformationAddressDecoding (std::ofstream &sout)
void GenerateSplitFilenames (std::ofstream &)
void GenerateSplitString (std::ofstream &)
void GenerateTCLAP (std::ofstream &, ModuleDescription &)
void GenerateXML (std::ofstream &)
bool HasDefault (const ModuleParameter &parameter)
bool IsEnumeration (const ModuleParameter &parameter)
bool IsVectorOfVectors (const ModuleParameter &parameter)
int main (int argc, char *argv[])
bool NeedsQuotes (const ModuleParameter &parameter)
bool NeedsTemp (const ModuleParameter &parameter)

Function Documentation

void GenerateEchoArgs ( std::ofstream &  sout,
ModuleDescription module 
)
void GenerateExports ( std::ofstream &  sout  ) 
void GenerateLOGO ( std::ofstream &  sout,
std::vector< std::string > &  logos 
)

Referenced by main().

void GeneratePluginDataSymbols ( std::ofstream &  sout,
std::vector< std::string > &  logos,
std::string  XMLFile 
)

References fileName, j, and slicerget::line.

Referenced by main().

void GeneratePluginEntryPoints ( std::ofstream &  sout,
std::vector< std::string > &  logos 
)

Referenced by main().

void GeneratePluginProcedures ( std::ofstream &  sout,
std::vector< std::string > &  logos 
)

References fileName.

Referenced by main().

void GeneratePost ( std::ofstream &  sout  ) 

Referenced by main().

void GeneratePre ( std::ofstream &  sout,
ModuleDescription ,
int  argc,
char argv[] 
)
void GenerateProcessInformationAddressDecoding ( std::ofstream &  sout  ) 

Generate code to decode the address of a process information structure

Referenced by main().

void GenerateSplitFilenames ( std::ofstream &  sout  ) 

Referenced by main().

void GenerateSplitString ( std::ofstream &  sout  ) 

Referenced by main().

void GenerateTCLAP ( std::ofstream &  sout,
ModuleDescription module 
)
void GenerateXML ( std::ofstream &  sout  ) 

Referenced by main().

bool HasDefault ( const ModuleParameter parameter  ) 
bool IsEnumeration ( const ModuleParameter parameter  ) 

References ModuleParameter::GetTag(), and type.

Referenced by GenerateTCLAP().

bool IsVectorOfVectors ( const ModuleParameter parameter  ) 

References ModuleParameter::GetCPPType(), and type.

Referenced by GenerateTCLAP().

int main ( int  argc,
char argv[] 
)
bool NeedsQuotes ( const ModuleParameter parameter  ) 
bool NeedsTemp ( const ModuleParameter parameter  ) 

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1