C# 클래스 CyPhyComponentImporter.CyPhyComponentImporterInterpreter

상속: IMgaComponentEx, IGMEVersionInfo
파일 보기 프로젝트 열기: metamorph-inc/meta-core

공개 프로퍼티들

프로퍼티 타입 설명
Errors List
ExpectedSchemaVersion double
ImportedComponentsFolderName string

보호된 프로퍼티들

프로퍼티 타입 설명
interactiveMode bool

Private Properties

프로퍼티 타입 설명
CheckAndWarnOnSchemaVersion void
Convert ComponentStartMode
GMERegister void
GMEUnRegister void
GetImportFolder ISIS.GME.Dsml.CyPhyML.Interfaces.Components
Main void
WriteLine void
getCyPhyMLComponentDictionary_ByName CyPhy.Component>.Dictionary

공개 메소드들

메소드 설명
DeserializeAvmComponentXml ( TextReader reader ) : avm.Component
Enable ( bool newval ) : void
ImportFile ( MgaProject project, string projroot, string FileName ) : IMgaFCO
ImportFiles ( MgaProject project, string projRootPath, string FileNames, bool alwaysReplace = false ) : IMgaFCOs
Initialize ( MgaProject project ) : void

This function is called for each interpreter invocation before Main. Don't perform MGA operations here unless you open a transaction.

Invoke ( MgaProject Project, MgaFCOs selectedobjs, int param ) : void
InvokeEx ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : void
ObjectsInvokeEx ( MgaProject Project, MgaObject currentobj, MgaObjects selectedobjs, int param ) : void
getCyPhyMLComponentDictionary_ByAVMID ( ISIS.GME.Dsml.CyPhyML.Interfaces cyPhyMLRootFolder ) : CyPhy.Component>.Dictionary
get_ComponentParameter ( string Name ) : object
set_ComponentParameter ( string Name, object pVal ) : void

비공개 메소드들

메소드 설명
CheckAndWarnOnSchemaVersion ( avm ac_import ) : void
Convert ( int param ) : ComponentStartMode
GMERegister ( Type t ) : void
GMEUnRegister ( Type t ) : void
GetImportFolder ( ISIS.GME.Dsml.CyPhyML.Interfaces rf ) : ISIS.GME.Dsml.CyPhyML.Interfaces.Components
Main ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, ComponentStartMode startMode ) : void
WriteLine ( Func f, IMgaFCO a, IMgaFCO b ) : void
getCyPhyMLComponentDictionary_ByName ( ISIS.GME.Dsml.CyPhyML.Interfaces cyPhyMLRootFolder ) : CyPhy.Component>.Dictionary

메소드 상세

DeserializeAvmComponentXml() 공개 정적인 메소드

public static DeserializeAvmComponentXml ( TextReader reader ) : avm.Component
reader System.IO.TextReader
리턴 avm.Component

Enable() 공개 메소드

public Enable ( bool newval ) : void
newval bool
리턴 void

ImportFile() 공개 메소드

public ImportFile ( MgaProject project, string projroot, string FileName ) : IMgaFCO
project MgaProject
projroot string
FileName string
리턴 IMgaFCO

ImportFiles() 공개 메소드

public ImportFiles ( MgaProject project, string projRootPath, string FileNames, bool alwaysReplace = false ) : IMgaFCOs
project MgaProject
projRootPath string
FileNames string
alwaysReplace bool
리턴 IMgaFCOs

Initialize() 공개 메소드

This function is called for each interpreter invocation before Main. Don't perform MGA operations here unless you open a transaction.
public Initialize ( MgaProject project ) : void
project MgaProject The handle of the project opened in GME, for which the interpreter was called.
리턴 void

Invoke() 공개 메소드

public Invoke ( MgaProject Project, MgaFCOs selectedobjs, int param ) : void
Project MgaProject
selectedobjs MgaFCOs
param int
리턴 void

InvokeEx() 공개 메소드

public InvokeEx ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : void
project MgaProject
currentobj MgaFCO
selectedobjs MgaFCOs
param int
리턴 void

ObjectsInvokeEx() 공개 메소드

public ObjectsInvokeEx ( MgaProject Project, MgaObject currentobj, MgaObjects selectedobjs, int param ) : void
Project MgaProject
currentobj MgaObject
selectedobjs MgaObjects
param int
리턴 void

getCyPhyMLComponentDictionary_ByAVMID() 공개 정적인 메소드

public static getCyPhyMLComponentDictionary_ByAVMID ( ISIS.GME.Dsml.CyPhyML.Interfaces cyPhyMLRootFolder ) : CyPhy.Component>.Dictionary
cyPhyMLRootFolder ISIS.GME.Dsml.CyPhyML.Interfaces
리턴 CyPhy.Component>.Dictionary

get_ComponentParameter() 공개 메소드

public get_ComponentParameter ( string Name ) : object
Name string
리턴 object

set_ComponentParameter() 공개 메소드

public set_ComponentParameter ( string Name, object pVal ) : void
Name string
pVal object
리턴 void

프로퍼티 상세

Errors 공개적으로 프로퍼티

public List Errors
리턴 List

ExpectedSchemaVersion 공개적으로 정적으로 프로퍼티

The version of the ACM schema expected by the importer. If an input file has a different version, the importer will warn the user, but try to import the component anyway.
public static double ExpectedSchemaVersion
리턴 double

ImportedComponentsFolderName 공개적으로 정적으로 프로퍼티

The default name of the folder in which imported components are placed.
public static string ImportedComponentsFolderName
리턴 string

interactiveMode 보호되어 있는 프로퍼티

protected bool interactiveMode
리턴 bool