| class CDbStrings : public CBase |
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;
| Public Member Functions | |
|---|---|
| ~CDbStrings() | |
| void | AddL(const TDesC &) |
| TInt | Count() |
| CDbStrings * | NewLC() |
| const TDesC & | operator[](TInt) |
| Private Member Functions | |
|---|---|
| CDbStrings() | |
| Private Attributes | |
|---|---|
| CArrayPakFlat< TDbStringC > | iList |
| const TDesC & | operator[] | ( | TInt | aIndex | ) | const [inline] |
Allows access to "aIndex" element of the controlled strings array. "aIndex" element of the controlled strings array.
| TInt aIndex |