C# Class XAmpleManagedWrapper.XAmpleDLLWrapper

Inheritance: IDisposable
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Property Type Description
m_ampleCheckMorphReferences SpecAmpleCheckMorphReferences
m_ampleCreateSetup SpecAmpleCreateSetup
m_ampleDeleteSetup SpecAmpleDeleteSetup
m_ampleGetTrace SpecAmpleGetTrace
m_ampleInitializeMorphChecking SpecAmpleInitializeMorphChecking
m_ampleInitializeTrace SpecAmpleInitializeTrace
m_ampleLoadControlFiles SpecAmpleLoadControlFiles
m_ampleLoadDictionary SpecAmpleLoadDictionary
m_ampleLoadGrammarFile SpecAmpleLoadGrammarFile
m_ampleReportVersion SpecAmpleReportVersion
m_ampleReset SpecAmpleReset
m_logPath string
m_options AmpleOptions
m_pfAmpleThreadId SpecAmpleThreadId
m_setup System.IntPtr

Public Methods

Method Description
Dispose ( ) : void
GetAmpleThreadId ( ) : int
GetSetup ( ) : IntPtr
Init ( ) : void
LoadFiles ( string lspzFixedFilesDir, string lspzDynamicFilesDir, string lspzDatabaseName ) : void
ParseString ( string sInput ) : string
SetLogFile ( string lpszPath ) : void
SetParameter ( string lspzName, string lspzValue ) : void
TraceString ( string input, string sSelectedMorphs ) : string
XAmpleDLLWrapper ( ) : System

Protected Methods

Method Description
AssignDelegates ( ) : void
CheckLogForErrors ( ) : void
CheckPtr ( IntPtr p ) : void
Dispose ( bool fDisposing ) : void
RemoveSetup ( ) : void
SetOptions ( ) : void
ThrowIfError ( string result ) : void

Private Methods

Method Description
AmpleAddSelectiveAnalysisMorphs ( IntPtr pSetupIo, string pszMorphsIn ) : IntPtr
AmpleAddSelectiveAnalysisMorphsMarshaled ( IntPtr pSetupIo, string pszMorphsIn ) : string
AmpleApplyInputChangesToWord ( IntPtr pSetupIo, string pszWordIn ) : IntPtr
AmpleApplyInputChangesToWordMarshaled ( IntPtr pSetupIo, string pszWordIn ) : string
AmpleCheckMorphReferences ( IntPtr pSetupIo ) : IntPtr
AmpleCheckMorphReferencesMarshaled ( IntPtr pSetupIo ) : string
AmpleCreateSetup ( ) : IntPtr
AmpleDeleteSetup ( IntPtr pSetupIo ) : IntPtr
AmpleDeleteSetupMarshaled ( IntPtr pSetupIo ) : string
AmpleGetAllAllomorphs ( IntPtr pSetupIo, string pszRestOfWordIn, string pszState_in ) : IntPtr
AmpleGetAllAllomorphsMarshaled ( IntPtr pSetupIo, string pszRestOfWordIn, string pszStateIn ) : string
AmpleGetTraceString ( IntPtr pSetupIo ) : IntPtr
AmpleGetTraceStringMarshaled ( IntPtr pSetupIo ) : string
AmpleInitializeMorphChecking ( IntPtr pSetupIo ) : IntPtr
AmpleInitializeMorphCheckingMarshaled ( IntPtr pSetupIo ) : string
AmpleInitializeTraceString ( IntPtr pSetupIo ) : IntPtr
AmpleInitializeTraceStringMarshaled ( IntPtr pSetupIo ) : string
AmpleLoadControlFiles ( IntPtr pSetupIo, string pszAnalysisDataFileIn, string pszDictCodeTableIn, string pszDictOrthoChangeTableIn, string pszTextInputControlFileIn ) : IntPtr
AmpleLoadControlFilesMarshaled ( IntPtr pSetupIo, string pszAnalysisDataFileIn, string pszDictCodeTableIn, string pszDictOrthoChangeTableIn, string pszTextInputControlFileIn ) : string
AmpleLoadDictionary ( IntPtr pSetupIo, string pszFilePathIn, string pszDictType ) : IntPtr
AmpleLoadDictionaryMarshaled ( IntPtr pSetupIo, string pszFilePathIn, string pszDictType ) : string
AmpleLoadGrammarFile ( IntPtr pSetupIo, string pszGrammarFileIn ) : IntPtr
AmpleLoadGrammarFileMarshaled ( IntPtr pSetupIo, string pszGrammarFileIn ) : string
AmpleParseText ( IntPtr pSetupIo, byte pszInputTextIn, string pszUseTextIn ) : IntPtr
AmpleParseTextMarshaled ( IntPtr pSetupIo, string pszInputTextIn, string pszUseTextIn ) : string
AmpleRemoveSelectiveAnalysisMorphMarshaled ( IntPtr pSetupIo ) : string
AmpleRemoveSelectiveAnalysisMorphs ( IntPtr pSetupIo ) : IntPtr
AmpleReportVersion ( IntPtr pSetupIo ) : IntPtr
AmpleReportVersionMarshaled ( IntPtr pSetupIo ) : string
AmpleReset ( IntPtr pSetupIo ) : IntPtr
AmpleResetMarshaled ( IntPtr pSetupIo ) : string
AmpleSetParameter ( IntPtr pSetupIo, string pszNameIn, string pszValueIn ) : IntPtr
AmpleSetParameterMarshaled ( IntPtr pSetupIo, string pszNameIn, string pszValueIn ) : string
AmpleThreadId ( ) : int
PtrToString ( IntPtr ptr, Encoding encoding ) : string

Method Details

AssignDelegates() protected method

protected AssignDelegates ( ) : void
return void

CheckLogForErrors() protected method

protected CheckLogForErrors ( ) : void
return void

CheckPtr() protected method

protected CheckPtr ( IntPtr p ) : void
p System.IntPtr
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool fDisposing ) : void
fDisposing bool
return void

GetAmpleThreadId() public method

public GetAmpleThreadId ( ) : int
return int

GetSetup() public method

public GetSetup ( ) : IntPtr
return System.IntPtr

Init() public method

public Init ( ) : void
return void

LoadFiles() public method

public LoadFiles ( string lspzFixedFilesDir, string lspzDynamicFilesDir, string lspzDatabaseName ) : void
lspzFixedFilesDir string
lspzDynamicFilesDir string
lspzDatabaseName string
return void

ParseString() public method

public ParseString ( string sInput ) : string
sInput string
return string

RemoveSetup() protected method

protected RemoveSetup ( ) : void
return void

SetLogFile() public method

public SetLogFile ( string lpszPath ) : void
lpszPath string
return void

SetOptions() protected method

protected SetOptions ( ) : void
return void

SetParameter() public method

public SetParameter ( string lspzName, string lspzValue ) : void
lspzName string
lspzValue string
return void

ThrowIfError() protected method

protected ThrowIfError ( string result ) : void
result string
return void

TraceString() public method

public TraceString ( string input, string sSelectedMorphs ) : string
input string
sSelectedMorphs string
return string

XAmpleDLLWrapper() public method

public XAmpleDLLWrapper ( ) : System
return System

Property Details

m_ampleCheckMorphReferences protected_oe property

protected SpecAmpleCheckMorphReferences m_ampleCheckMorphReferences
return SpecAmpleCheckMorphReferences

m_ampleCreateSetup protected_oe property

protected SpecAmpleCreateSetup m_ampleCreateSetup
return SpecAmpleCreateSetup

m_ampleDeleteSetup protected_oe property

protected SpecAmpleDeleteSetup m_ampleDeleteSetup
return SpecAmpleDeleteSetup

m_ampleGetTrace protected_oe property

protected SpecAmpleGetTrace m_ampleGetTrace
return SpecAmpleGetTrace

m_ampleInitializeMorphChecking protected_oe property

protected SpecAmpleInitializeMorphChecking m_ampleInitializeMorphChecking
return SpecAmpleInitializeMorphChecking

m_ampleInitializeTrace protected_oe property

protected SpecAmpleInitializeTrace m_ampleInitializeTrace
return SpecAmpleInitializeTrace

m_ampleLoadControlFiles protected_oe property

protected SpecAmpleLoadControlFiles m_ampleLoadControlFiles
return SpecAmpleLoadControlFiles

m_ampleLoadDictionary protected_oe property

protected SpecAmpleLoadDictionary m_ampleLoadDictionary
return SpecAmpleLoadDictionary

m_ampleLoadGrammarFile protected_oe property

protected SpecAmpleLoadGrammarFile m_ampleLoadGrammarFile
return SpecAmpleLoadGrammarFile

m_ampleReportVersion protected_oe property

protected SpecAmpleReportVersion m_ampleReportVersion
return SpecAmpleReportVersion

m_ampleReset protected_oe property

protected SpecAmpleReset m_ampleReset
return SpecAmpleReset

m_logPath protected_oe property

protected string m_logPath
return string

m_options protected_oe property

protected AmpleOptions,XAmpleManagedWrapper m_options
return AmpleOptions

m_pfAmpleThreadId protected_oe property

protected SpecAmpleThreadId m_pfAmpleThreadId
return SpecAmpleThreadId

m_setup protected_oe property

protected IntPtr,System m_setup
return System.IntPtr