#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 ¶meter) |
| bool | IsEnumeration (const ModuleParameter ¶meter) |
| bool | IsVectorOfVectors (const ModuleParameter ¶meter) |
| int | main (int argc, char *argv[]) |
| bool | NeedsQuotes (const ModuleParameter ¶meter) |
| bool | NeedsTemp (const ModuleParameter ¶meter) |
| void GenerateEchoArgs | ( | std::ofstream & | sout, | |
| ModuleDescription & | module | |||
| ) |
References ModuleDescription::GetParameterGroups(), and NeedsTemp().
Referenced by main().
| 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 | |||
| ) |
| 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 | |||
| ) |
References ModuleParameterGroup::AddParameter(), ModuleDescription::AddParameterGroup(), ModuleDescription::GetAcknowledgements(), ModuleDescription::GetContributor(), ModuleDescription::GetDescription(), ModuleDescription::GetParameterGroups(), ModuleDescription::GetVersion(), HasDefault(), IsEnumeration(), IsVectorOfVectors(), NeedsQuotes(), NeedsTemp(), replaceSubWithSub(), ModuleParameter::SetCPPType(), ModuleParameter::SetDefault(), ModuleParameter::SetDescription(), ModuleParameter::SetLongFlag(), ModuleParameter::SetName(), ModuleParameter::SetTag(), and slicerget::size.
Referenced by main().
| void GenerateXML | ( | std::ofstream & | sout | ) |
Referenced by main().
| bool HasDefault | ( | const ModuleParameter & | parameter | ) |
References ModuleParameter::GetDefault(), and ModuleParameter::GetMultiple().
Referenced by GenerateTCLAP().
| 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().
References GenerateEchoArgs(), GenerateExports(), GenerateLOGO(), GeneratePluginDataSymbols(), GeneratePluginEntryPoints(), GeneratePluginProcedures(), GeneratePost(), GeneratePre(), GenerateProcessInformationAddressDecoding(), GenerateSplitFilenames(), GenerateSplitString(), GenerateTCLAP(), GenerateXML(), ModuleDescription::GetParameterGroups(), len, ModuleDescriptionParser::Parse(), PARSE_ARGS, and BinarizeScalarValues::XML.
| bool NeedsQuotes | ( | const ModuleParameter & | parameter | ) |
References ModuleParameter::GetCPPType(), ModuleParameter::GetMultiple(), and type.
Referenced by GenerateTCLAP().
| bool NeedsTemp | ( | const ModuleParameter & | parameter | ) |
References ModuleParameter::GetCPPType(), ModuleParameter::GetMultiple(), and type.
Referenced by GenerateEchoArgs(), and GenerateTCLAP().
1.6.1