CPsData Class Reference
class CPsData : public CBase |
Utility class to store data for predictive search. This is the basic data class that is used to marshal data between the client, server and data plugins.
pcsutils.lib
- Since
- S60 v3.2
Constructor & Destructor Documentation
Member Functions Documentation
AddIntDataExtL(TInt)
IMPORT_C void | AddIntDataExtL | ( | TInt | aDataExt | ) | |
Add element to the Integer Data Extention
Parameters
TInt aDataExt | - Integer Data Extension to be added |
ClearDataMatches()
IMPORT_C void | ClearDataMatches | ( | ) | |
Clear all the bits set in data matches
CompareByData(const CPsData &, const CPsData &)
Method to compare two CPsData objects
Parameters
const CPsData & aObject1 | Instance 1 to be compared |
const CPsData & aObject2 | Instance 2 to be compared |
CompareById(const CPsData &, const CPsData &)
Method to compare two CPsData objects based on unique Id
Parameters
const CPsData & aObject1 | Instance 1 to be compared |
const CPsData & aObject2 | Instance 2 to be compared |
ConstructL()
void | ConstructL | ( | ) | [private] |
Data(TInt)
Pointer to the data element at the specified location
Parameters
TInt aIndex | Index of data element |
DataElementCount()
IMPORT_C TInt | DataElementCount | ( | ) | const |
Returns the number of data elements
DataExtension()
IMPORT_C TAny * | DataExtension | ( | ) | const |
Returns the data extension
DataMatch()
Returns the data match attribute
ExternalizeL(RWriteStream &)
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Writes 'this' to the stream
Parameters
RWriteStream & aStream | WriteStream with externalized contents |
Id()
Provides the unique identifier of this object
IntDataExt(RArray< TInt > &)
IMPORT_C void | IntDataExt | ( | RArray< TInt > & | aDataExtArray | ) | |
Retrieve Integer Data Extention Array
Parameters
RArray< TInt > & aDataExtArray | - Integer Data Extension array |
InternalizeL(RReadStream &)
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Initializes 'this' from stream
Parameters
RReadStream & aStream | ReadStream with data contents to be internalized |
IsDataMatch(TInt)
Checks if data at array index is matched for predictive search
Parameters
TInt aIndex | Index of data element |
RemoveIntDataExt(TInt)
IMPORT_C void | RemoveIntDataExt | ( | TInt | aIndex | ) | |
Remove element from the Integer Data Extention
Parameters
TInt aIndex | - Integer Data Extension array index |
SetDataExtension(TAny *)
IMPORT_C void | SetDataExtension | ( | TAny * | aDataExt | ) | |
Parameters
TAny * aDataExt | Data Extension for this object |
SetDataL(const TInt, const TDesC &)
IMPORT_C void | SetDataL | ( | const TInt | aIndex, |
| const TDesC & | aData |
| ) | |
Sets the data at the specified location
Parameters
const TInt aIndex | Index of data element |
const TDesC & aData | Data descriptor to be searched |
SetDataMatch(TInt)
IMPORT_C void | SetDataMatch | ( | TInt | aIndex | ) | |
Sets data at array index has matched for predictive search
Parameters
TInt aIndex | Index of data element |
SetId(const TInt)
IMPORT_C void | SetId | ( | const TInt | aId | ) | |
Sets the unique identifier of this object
Parameters
const TInt aId | The unique identifier |
SetUriId(const TUint8)
IMPORT_C void | SetUriId | ( | const TUint8 | aUriId | ) | |
Sets the unique URI identifier of this object
Parameters
const TUint8 aUriId | The unique URI identifier |
UriId()
Provides the unique URI identifier of this object
Member Data Documentation
RPointerArray< HBufC > * iData
TAny * iDataExtension
TAny * | iDataExtension | [private] |
TUint8
iDataMatches
Indicates in bit positions, what data fields are matched for predictive search
RPointerArray< HBufC > * iGc
Garbage collector to fix performance issue
RArray< TInt > * iIntDataExt
Extended Data field of Integers
TUint8
iUriId
URI ID. Indicates the data source.
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.