CSyncMLFilterProperty Class Reference
class CSyncMLFilterProperty : public CBase |
Filter Property Class.
syncmldatafilter.lib
Constructor & Destructor Documentation
CSyncMLFilterProperty()
CSyncMLFilterProperty | ( | ) | [private] |
~CSyncMLFilterProperty()
IMPORT_C | ~CSyncMLFilterProperty | ( | ) | |
Member Functions Documentation
AddDefaultValueBoolL(const TBool, const TBool)
IMPORT_C void | AddDefaultValueBoolL | ( | const TBool | aNewDefaultValue, |
| const TBool | aSelected |
| ) | |
Adds default value for boolean property. This is useful only if data type is boolean.
Parameters
const TBool aNewDefaultValue | Value of added default value. |
const TBool aSelected | Specifies if value is selected or not. |
AddDefaultValueDateL(const TTime &, const TBool)
IMPORT_C void | AddDefaultValueDateL | ( | const TTime & | aNewDefaultValue, |
| const TBool | aSelected |
| ) | |
Adds default value for date property. This is useful only if data type is date.
Parameters
const TTime & aNewDefaultValue | Value of added default value. |
const TBool aSelected | Specifies if value is selected or not. |
AddDefaultValueIntL(const TInt, const TBool)
IMPORT_C void | AddDefaultValueIntL | ( | const TInt | aNewDefaultValue, |
| const TBool | aSelected |
| ) | |
Adds default value for number property. This is useful only if data type is number.
Parameters
const TInt aNewDefaultValue | Value of added default value. |
const TBool aSelected | Specifies if value is selected or not. |
AddDefaultValueText16L(TDesC16 &, const TBool)
IMPORT_C void | AddDefaultValueText16L | ( | TDesC16 & | aNewDefaultValue, |
| const TBool | aSelected |
| ) | |
Adds default value for text16 property. This is useful only if data type is text16.
Parameters
TDesC16 & aNewDefaultValue | Value of added default value. |
const TBool aSelected | Specifies if value is selected or not. |
AddDefaultValueText8L(TDesC8 &, const TBool)
IMPORT_C void | AddDefaultValueText8L | ( | TDesC8 & | aNewDefaultValue, |
| const TBool | aSelected |
| ) | |
Adds default value for text8 property. This is useful only if data type is text8.
Parameters
TDesC8 & aNewDefaultValue | Value of added default value. |
const TBool aSelected | Specifies if value is selected or not. |
AddDefaultValueTimeL(const TTime &, const TBool)
IMPORT_C void | AddDefaultValueTimeL | ( | const TTime & | aNewDefaultValue, |
| const TBool | aSelected |
| ) | |
Adds default value for time property. This is useful only if data type is time.
Parameters
const TTime & aNewDefaultValue | Value of added default value. |
const TBool aSelected | Specifies if value is selected or not. |
CanUseQueryValue()
IMPORT_C TBool | CanUseQueryValue | ( | ) | const |
Can use query value with default values or not.
ClearDefaultValuesL()
IMPORT_C void | ClearDefaultValuesL | ( | ) | |
Clears all default values and value selections.
DefaultValueBoolL(TInt)
IMPORT_C TBool | DefaultValueBoolL | ( | TInt | aIndex | ) | const |
Default value from given index for boolean property. This is useful only if data type is boolean.
Parameters
TInt aIndex | Specifies index where default value is returned. |
DefaultValueCount()
IMPORT_C TInt | DefaultValueCount | ( | ) | const |
Number of default values.
DefaultValueDataType()
Data type of default values for filter property.
DefaultValueDateL(TInt)
IMPORT_C const TTime & | DefaultValueDateL | ( | TInt | aIndex | ) | const |
Default value from given index for date property. This is useful only if data type is date.
Parameters
TInt aIndex | Specifies index where default value is returned. |
DefaultValueIntL(TInt)
IMPORT_C TInt | DefaultValueIntL | ( | TInt | aIndex | ) | const |
Default value from given index for number property. This is useful only if data type is number.
Parameters
TInt aIndex | Specifies index where default value is returned. |
DefaultValueText16L(TInt)
IMPORT_C const TDesC16 & | DefaultValueText16L | ( | TInt | aIndex | ) | const |
Default value from given index for text16 property. This is useful only if data type is text16.
Parameters
TInt aIndex | Specifies index where default value is returned. |
DefaultValueText8L(TInt)
IMPORT_C const TDesC8 & | DefaultValueText8L | ( | TInt | aIndex | ) | const |
Default value from given index for text8 property. This is useful only if data type is text8.
Parameters
TInt aIndex | Specifies index where default value is returned. |
DefaultValueTimeL(TInt)
IMPORT_C const TTime & | DefaultValueTimeL | ( | TInt | aIndex | ) | const |
Default value from given index for time property. This is useful only if data type is time.
Parameters
TInt aIndex | Specifies index where default value is returned. |
DisplayName()
IMPORT_C const TDesC & | DisplayName | ( | ) | const |
ExternalizeL(RWriteStream &)
Externalizes filter property.
Parameters
RWriteStream & aStream | Specifies stream where filter property is externalized. |
IsDefaultValueSelected(TInt)
IMPORT_C TBool | IsDefaultValueSelected | ( | TInt | aIndex | ) | const |
Returns information about which default values are selected.
Parameters
TInt aIndex | Specifies index where selection information is returned. |
IsQueryValueSelected()
IMPORT_C TBool | IsQueryValueSelected | ( | ) | const |
Returns information about query value selection. This is useful only if query value can be used.
MaxTextLength()
IMPORT_C TUint | MaxTextLength | ( | ) | const |
Maximum text length of filter property. This is useful only if data type is text16 or text8.
NewLC()
Symbian two-phased constructor.
NewLC(TResourceReader &)
Symbian two-phased constructor.
Parameters
TResourceReader & aReader | TResourceReader for recource file that includes needed information to initialize filter property. |
NewLC(RReadStream &)
Symbian two-phased constructor.
Parameters
RReadStream & aStream | RReadStream for stream that includes needed information to initialize filter property. |
QueryValueBoolL()
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.
QueryValueDataType()
Data type of query value for filter property.
QueryValueDateL()
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.
QueryValueIntL()
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.
QueryValueText16L()
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.
QueryValueText8L()
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.
QueryValueTimeL()
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.
SelectDefaultValueL(TInt)
IMPORT_C void | SelectDefaultValueL | ( | TInt | aIndex | ) | |
Selects default value from given index.
Parameters
TInt aIndex | Specifies index which is selected. |
SetQueryValueBoolL(TBool)
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.
Parameters
TBool aValue | Specifies new value for query value. |
SetQueryValueDateL(const TTime &)
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.
Parameters
const TTime & aValue | Specifies new value for query value. |
SetQueryValueIntL(TInt)
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.
Parameters
TInt aValue | Specifies new value for query value. |
SetQueryValueText16L(const TDesC16 &)
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.
Parameters
const TDesC16 & aValue | Specifies new value for query value. |
SetQueryValueText8L(const TDesC8 &)
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.
Parameters
const TDesC8 & aValue | Specifies new value for query value. |
SetQueryValueTimeL(const TTime &)
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.
Parameters
const TTime & aValue | Specifies new value for query value. |
SupportsEmptySelection()
IMPORT_C TBool | SupportsEmptySelection | ( | ) | const |
Does filter property support empty selection.
SupportsMultipleSelection()
IMPORT_C TBool | SupportsMultipleSelection | ( | ) | const |
Does filter property support multiple selection.
UnselectDefaultValueL(TInt)
IMPORT_C void | UnselectDefaultValueL | ( | TInt | aIndex | ) | |
Unselects default value from given index.
Parameters
TInt aIndex | Specifies index which is unselected. |
UnselectQueryValueL()
IMPORT_C void | UnselectQueryValueL | ( | ) | |
Unselects query value. This is useful only if query value can be used. This method still keeps the value
Member Data Documentation
TBool
iCanUseQueryValue
TBool
| iCanUseQueryValue | [private] |
TSyncMLFilterPropertyDataType
iDataTypeForDefaultValues
TSyncMLFilterPropertyDataType
iDataTypeForQueryValue
RPointerArray< TTime > iDefaultValueDateOrTimeList
RArray< TInt > iDefaultValueIntOrBoolList
RArray< TBool > iDefaultValueSelected
RPointerArray< HBufC16 > iDefaultValueText16List
RPointerArray< HBufC8 > iDefaultValueText8List
HBufC * iDisplayName
HBufC * | iDisplayName | [private] |
TUint
iMaxTextLength
TUint
| iMaxTextLength | [private] |
TTime
iQueryValueDateOrTime
TTime
| iQueryValueDateOrTime | [private] |
TInt
iQueryValueIntOrBool
TInt
| iQueryValueIntOrBool | [private] |
TBool
iQueryValueSelected
TBool
| iQueryValueSelected | [private] |
HBufC16 * iQueryValueText16
HBufC16 * | iQueryValueText16 | [private] |
HBufC8 * iQueryValueText8
HBufC8 * | iQueryValueText8 | [private] |
TBool
iSupportsEmptySelection
TBool
| iSupportsEmptySelection | [private] |
TBool
iSupportsMultpleSelection
TBool
| iSupportsMultpleSelection | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.