#include <SyncMLDataFilter.h>
class CSyncMLFilterProperty : public CBase |
Filter Property Class.
IMPORT_C TBool | CanUseQueryValue | ( | ) | const |
Can use query value with default values or not.
Returns: TBool Returns ETrue if query can be used. Otherwise EFalse is returned.
IMPORT_C void | ClearDefaultValuesL | ( | ) |
Clears all default values and value selections.
IMPORT_C TInt | DefaultValueCount | ( | ) | const |
Number of default values.
Returns: TInt Number of default values of the filter property.
IMPORT_C TSyncMLFilterPropertyDataType | DefaultValueDataType | ( | ) | const |
Data type of default values for filter property.
Returns: TSyncMLFilterPropertyDataType Data type.
IMPORT_C const TDesC & | DisplayName | ( | ) | const |
Name of filter property.
Returns: TDesC Name of the filter property.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalizes filter property.
Parameter | Description |
---|---|
aStream | Specifies stream where filter property is externalized. |
Returns information about which default values are selected.
Parameter | Description |
---|---|
aIndex | Specifies index where selection information is returned. |
Returns: TBool Returns ETrue if default value in given index is selected. Otherwise EFalse is returned.
IMPORT_C TBool | IsQueryValueSelected | ( | ) | const |
Returns information about query value selection. This is useful only if query value can be used.
Returns: TBool Returns ETrue if query value is selected. Otherwise EFalse is returned.
IMPORT_C TUint | MaxTextLength | ( | ) | const |
Maximum text length of filter property. This is useful only if data type is text16 or text8.
Returns: TUint Maximum text length of the filter property.
IMPORT_C CSyncMLFilterProperty * | NewLC | ( | TResourceReader & | aReader | ) | [static] |
Symbian two-phased constructor.
Parameter | Description |
---|---|
aReader | TResourceReader for recource file that includes needed information to initialize filter property. |
IMPORT_C CSyncMLFilterProperty * | NewLC | ( | RReadStream & | aStream | ) | [static] |
Symbian two-phased constructor.
Parameter | Description |
---|---|
aStream | RReadStream for stream that includes needed information to initialize filter property. |
IMPORT_C TBool | QueryValueBoolL | ( | ) | const |
Returns query value for boolean property. This is useful only if data type is boolean and if query value can be used.
Returns: TBool Query value.
IMPORT_C TSyncMLFilterPropertyDataType | QueryValueDataType | ( | ) | const |
Data type of query value for filter property.
Returns: TSyncMLFilterPropertyDataType Data type.
IMPORT_C const TTime & | QueryValueDateL | ( | ) | const |
Returns query value for date property. This is useful only if data type is date and if query value can be used.
Returns: TTime Query value.
IMPORT_C TInt | QueryValueIntL | ( | ) | const |
Returns query value for number property. This is useful only if data type is number and if query value can be used.
Returns: TInt Query value.
IMPORT_C const TDesC16 & | QueryValueText16L | ( | ) | const |
Returns query value for text16 property. This is useful only if data type is text16 and if query value can be used.
Returns: TDesC16 Query value.
IMPORT_C const TDesC8 & | QueryValueText8L | ( | ) | const |
Returns query value for text8 property. This is useful only if data type is text8 and if query value can be used.
Returns: TDesC8 Query value.
IMPORT_C const TTime & | QueryValueTimeL | ( | ) | const |
Returns query value for time property. This is useful only if data type is time and if query value can be used.
Returns: TTime Query value.
IMPORT_C void | SelectDefaultValueL | ( | TInt | aIndex | ) |
Selects default value from given index.
Parameter | Description |
---|---|
aIndex | Specifies index which is selected. |
IMPORT_C void | SetQueryValueBoolL | ( | TBool | aValue | ) |
Sets query value for boolean property. This is useful only if data type is boolean and if query value can be used. This method also selects query value.
Parameter | Description |
---|---|
aValue | Specifies new value for query value. |
IMPORT_C void | SetQueryValueDateL | ( | const TTime & | aValue | ) |
Sets query value for date property. This is useful only if data type is date and if query value can be used. This method also selects query value.
Parameter | Description |
---|---|
aValue | Specifies new value for query value. |
IMPORT_C void | SetQueryValueIntL | ( | TInt | aValue | ) |
Sets query value for number property. This is useful only if data type is number and if query value can be used. This method also selects query value.
Parameter | Description |
---|---|
aValue | Specifies new value for query value. |
IMPORT_C void | SetQueryValueText16L | ( | const TDesC16 & | aValue | ) |
Sets query value for text16 property. This is useful only if data type is text16 and if query value can be used. This method also selects query value.
Parameter | Description |
---|---|
aValue | Specifies new value for query value. |
IMPORT_C void | SetQueryValueText8L | ( | const TDesC8 & | aValue | ) |
Sets query value for text8 property. This is useful only if data type is text8 and if query value can be used. This method also selects query value.
Parameter | Description |
---|---|
aValue | Specifies new value for query value. |
IMPORT_C void | SetQueryValueTimeL | ( | const TTime & | aValue | ) |
Sets query value for time property. This is useful only if data type is time and if query value can be used. This method also selects query value.
Parameter | Description |
---|---|
aValue | Specifies new value for query value. |
IMPORT_C TBool | SupportsEmptySelection | ( | ) | const |
Does filter property support empty selection.
Returns: TBool Returns ETrue if none of values can be selected. Otherwise EFalse is returned.
IMPORT_C TBool | SupportsMultipleSelection | ( | ) | const |
Does filter property support multiple selection.
Returns: TBool Returns ETrue if multiple values can be selected. Otherwise EFalse is returned.
IMPORT_C void | UnselectDefaultValueL | ( | TInt | aIndex | ) |
Unselects default value from given index.
Parameter | Description |
---|---|
aIndex | Specifies index which is unselected. |