C# Class SIL.FieldWorks.IText.InterlinViewCacheLoader

Inheritance: IParaDataLoader
Mostrar archivo Open project: sillsdev/FieldWorks

Public Methods

Method Description
GetGuessForWordform ( IWfiWordform wf, int ws ) : IAnalysis
InterlinViewCacheLoader ( AnalysisGuessServices guessServices, SIL.FieldWorks.IText.InterlinViewDataCache sdaDecorator ) : System
LoadParaData ( IStTxtPara para ) : void
LoadSegmentData ( ISegment seg ) : void
RecordGuessIfNotKnown ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence occurrence ) : void
ResetGuessCache ( ) : void
UpdatingOccurrence ( IAnalysis oldAnalysis, IAnalysis newAnalysis ) : bool

Replacing a single occurrence, we MIGHT need to reset the guess cache.

Protected Methods

Method Description
NoteCurrentAnnotation ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence occurrence ) : void
SetInt ( int hvo, int flid, int n ) : void

SetObjProp ( int hvo, int flid, int objValue ) : void

this is so we can subclass the loader to test whether values have actually changed.

Private Methods

Method Description
LoadAnalysisData ( IStTxtPara para, HashSet wordforms ) : void

Load guesses for the paragraph.

RecordGuessIfAvailable ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence occurrence ) : void

Method Details

GetGuessForWordform() public method

public GetGuessForWordform ( IWfiWordform wf, int ws ) : IAnalysis
wf IWfiWordform
ws int
return IAnalysis

InterlinViewCacheLoader() public method

public InterlinViewCacheLoader ( AnalysisGuessServices guessServices, SIL.FieldWorks.IText.InterlinViewDataCache sdaDecorator ) : System
guessServices AnalysisGuessServices
sdaDecorator SIL.FieldWorks.IText.InterlinViewDataCache
return System

LoadParaData() public method

public LoadParaData ( IStTxtPara para ) : void
para IStTxtPara
return void

LoadSegmentData() public method

public LoadSegmentData ( ISegment seg ) : void
seg ISegment
return void

NoteCurrentAnnotation() protected method

protected NoteCurrentAnnotation ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence occurrence ) : void
occurrence SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence
return void

RecordGuessIfNotKnown() public method

public RecordGuessIfNotKnown ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence occurrence ) : void
occurrence SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence
return void

ResetGuessCache() public method

public ResetGuessCache ( ) : void
return void

SetInt() protected method

protected SetInt ( int hvo, int flid, int n ) : void
hvo int
flid int
n int
return void

SetObjProp() protected method

this is so we can subclass the loader to test whether values have actually changed.
protected SetObjProp ( int hvo, int flid, int objValue ) : void
hvo int
flid int
objValue int
return void

UpdatingOccurrence() public method

Replacing a single occurrence, we MIGHT need to reset the guess cache.
public UpdatingOccurrence ( IAnalysis oldAnalysis, IAnalysis newAnalysis ) : bool
oldAnalysis IAnalysis
newAnalysis IAnalysis
return bool