C# Class CyPhy2CAD_CSharp.TestBenchModel.TestBenchBase

Mostrar archivo Open project: metamorph-inc/meta-core Class Usage Examples

Public Properties

Property Type Description
CADAnalysisFile string
CADAssemblyFile string
ProcessingInstructions String>>.List

Protected Properties

Property Type Description
ExportComponentPoints bool

Public Methods

Method Description
AddDataExchangeFormatToXMLOutput ( CAD assembliesRoot ) : void
CollectDirectories ( ) : void
GenerateCADXMLOutput ( ) : void
GenerateOutputFiles ( ) : bool
GenerateProcessingScripts ( List ScriptPaths, bool preProcess = false ) : void
GenerateRunBat ( ) : void
GenerateScriptFiles ( ) : void
GetParameterValue ( ISIS.GME.Dsml.CyPhyML.Interfaces testBench, string paramname ) : string
GetRepresentation ( DataRep component ) : string
HasErrors ( ) : bool
MetricsToCADXMLOutput ( List dataSet, string componentID = "" ) : List
SanitizePythonRawString ( string orig ) : string

Returns orig without single quotes or trailing backslashes, suitable for r'string'

TestBenchBase ( CyPhy2CADSettings cadSetting, string outputdir, string projectdir, bool auto = false ) : System
TraverseTestBench ( ISIS.GME.Dsml.CyPhyML.Interfaces testBench ) : void

Protected Methods

Method Description
AddAnalysisToXMLOutput ( CAD assembly ) : void
AddStaticAnalysisMetrics ( CAD assemblyRoot ) : void
GetCADAnalysis ( CAD assembly ) : CAD.AnalysesType
GetStaticAnalysis ( CAD analyses ) : CAD.StaticType

Method Details

AddAnalysisToXMLOutput() protected method

protected AddAnalysisToXMLOutput ( CAD assembly ) : void
assembly CAD
return void

AddDataExchangeFormatToXMLOutput() public method

public AddDataExchangeFormatToXMLOutput ( CAD assembliesRoot ) : void
assembliesRoot CAD
return void

AddStaticAnalysisMetrics() protected method

protected AddStaticAnalysisMetrics ( CAD assemblyRoot ) : void
assemblyRoot CAD
return void

CollectDirectories() public method

public CollectDirectories ( ) : void
return void

GenerateCADXMLOutput() public method

public GenerateCADXMLOutput ( ) : void
return void

GenerateOutputFiles() public method

public GenerateOutputFiles ( ) : bool
return bool

GenerateProcessingScripts() public method

public GenerateProcessingScripts ( List ScriptPaths, bool preProcess = false ) : void
ScriptPaths List
preProcess bool
return void

GenerateRunBat() public method

public GenerateRunBat ( ) : void
return void

GenerateScriptFiles() public method

public GenerateScriptFiles ( ) : void
return void

GetCADAnalysis() protected method

protected GetCADAnalysis ( CAD assembly ) : CAD.AnalysesType
assembly CAD
return CAD.AnalysesType

GetParameterValue() public method

public GetParameterValue ( ISIS.GME.Dsml.CyPhyML.Interfaces testBench, string paramname ) : string
testBench ISIS.GME.Dsml.CyPhyML.Interfaces
paramname string
return string

GetRepresentation() public method

public GetRepresentation ( DataRep component ) : string
component DataRep
return string

GetStaticAnalysis() protected method

protected GetStaticAnalysis ( CAD analyses ) : CAD.StaticType
analyses CAD
return CAD.StaticType

HasErrors() public method

public HasErrors ( ) : bool
return bool

MetricsToCADXMLOutput() public method

public MetricsToCADXMLOutput ( List dataSet, string componentID = "" ) : List
dataSet List
componentID string
return List

SanitizePythonRawString() public static method

Returns orig without single quotes or trailing backslashes, suitable for r'string'
public static SanitizePythonRawString ( string orig ) : string
orig string
return string

TestBenchBase() public method

public TestBenchBase ( CyPhy2CADSettings cadSetting, string outputdir, string projectdir, bool auto = false ) : System
cadSetting CyPhy2CADSettings
outputdir string
projectdir string
auto bool
return System

TraverseTestBench() public method

public TraverseTestBench ( ISIS.GME.Dsml.CyPhyML.Interfaces testBench ) : void
testBench ISIS.GME.Dsml.CyPhyML.Interfaces
return void

Property Details

CADAnalysisFile public_oe static_oe property

public static string CADAnalysisFile
return string

CADAssemblyFile public_oe static_oe property

public static string CADAssemblyFile
return string

ExportComponentPoints protected_oe property

protected bool ExportComponentPoints
return bool

ProcessingInstructions public_oe property

public List> ProcessingInstructions
return String>>.List