C# Class pcr.API

* /// Tiny engine capable of running model scripts. Convienence class that will wrap the non object oriented C API into a class. * //// Current functionality is minimal, in development for OpenMI and ArcGIS 8+ interface. * ///
Mostra file Open project: pcraster/pcraster

Public Methods

Method Description
pcr_ScriptErrorMessage ( IntPtr script ) : String
pcr_ScriptXMLReflection ( IntPtr script ) : String
validXml ( String xmlString ) : bool
xmlFileToXMLScript ( String xmlFileName ) : pcrxml.Script
xmlStringToXMLScript ( String xmlString ) : pcrxml.Script

Private Methods

Method Description
pcr_ScriptError ( IntPtr script ) : Int32
pcr_ScriptErrorMessageDll ( IntPtr script ) : IntPtr
pcr_ScriptExecuteInitialStepMemory ( IntPtr script, IntPtr data ) : void
pcr_ScriptXMLReflectionDll ( IntPtr script ) : IntPtr
pcr_createScriptFromTextFile ( String scriptName ) : IntPtr
pcr_createScriptFromTextString ( String script ) : IntPtr
pcr_createScriptFromXMLFile ( String scriptName ) : IntPtr
pcr_createScriptFromXMLString ( String script ) : IntPtr
pcr_destroyScript ( IntPtr script ) : void
verifyXml ( String xmlString ) : void

Method Details

pcr_ScriptErrorMessage() public static method

public static pcr_ScriptErrorMessage ( IntPtr script ) : String
script System.IntPtr
return String

pcr_ScriptXMLReflection() public static method

public static pcr_ScriptXMLReflection ( IntPtr script ) : String
script System.IntPtr
return String

validXml() public static method

public static validXml ( String xmlString ) : bool
xmlString String
return bool

xmlFileToXMLScript() public static method

public static xmlFileToXMLScript ( String xmlFileName ) : pcrxml.Script
xmlFileName String
return pcrxml.Script

xmlStringToXMLScript() public static method

public static xmlStringToXMLScript ( String xmlString ) : pcrxml.Script
xmlString String
return pcrxml.Script