CDbStrings Class Reference
class CDbStrings : public CBase
|
CDbStrings
encapsulates functionality used for transferring an array of strings from DBMS server to the DBMS client. The maximal length of each element of the array is KDbMaxStrLen characters. The typical usage pattern of
CDbStrings
class is:
CDbStrings* strings = <a call of an exported DBMS method>;
TInt cnt = strings.Count();
for(TInt i=0;i<cnt;++i)
{
const TDesC& str = (*strings)[i];
<do something with "str" variable>;
}
delete strings;
Constructor & Destructor Documentation
CDbStrings()
CDbStrings
|
(
|
)
|
[private, inline]
|
~CDbStrings()
~CDbStrings
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddL(const TDesC &)
void
|
AddL
|
(
|
const
TDesC
&
|
aStr
|
)
|
|
Count()
TInt
|
Count
|
(
|
)
|
const [inline]
|
operator[](TInt)
const
TDesC
&
|
operator[]
|
(
|
TInt
|
aIndex
|
)
|
const [inline]
|
Allows access to "aIndex" element of the controlled strings array.
Member Data Documentation
CArrayPakFlat< TDbStringC > iList
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.