C# Class SIL.FieldWorks.Common.Controls.FilterSdaDecorator

This decorator modifies certain sequence properties by filtering from them items not in a master list.
Inheritance: SIL.FieldWorks.FDO.SdaDecoratorBase
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
FilterSdaDecorator ( ISilDataAccessManaged domainDataByFlid, int mainFlid, int hvoRoot ) : System

Make one that wraps the specified cache and passes items in the specified property of the specified root object.

SetFilterFlids ( string input ) : void

Set the filter flids from a string that contains semi-colon-separated sequence of Class.Field strings.

VecProp ( int hvo, int tag, int chvoMax, int &chvo, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr rghvo ) : void

Override to filter the specified properties.

get_VecItem ( int hvo, int tag, int index ) : int

Override to filter the specified properties.

get_VecSize ( int hvo, int tag ) : int

Override to filter the specified properties.

Private Methods

Method Description
Flid ( string field ) : int

Method Details

FilterSdaDecorator() public method

Make one that wraps the specified cache and passes items in the specified property of the specified root object.
public FilterSdaDecorator ( ISilDataAccessManaged domainDataByFlid, int mainFlid, int hvoRoot ) : System
domainDataByFlid ISilDataAccessManaged
mainFlid int
hvoRoot int
return System

SetFilterFlids() public method

Set the filter flids from a string that contains semi-colon-separated sequence of Class.Field strings.
public SetFilterFlids ( string input ) : void
input string
return void

VecProp() public method

Override to filter the specified properties.
public VecProp ( int hvo, int tag, int chvoMax, int &chvo, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr rghvo ) : void
hvo int
tag int
chvoMax int
chvo int
rghvo SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
return void

get_VecItem() public method

Override to filter the specified properties.
public get_VecItem ( int hvo, int tag, int index ) : int
hvo int
tag int
index int
return int

get_VecSize() public method

Override to filter the specified properties.
public get_VecSize ( int hvo, int tag ) : int
hvo int
tag int
return int