#include <d32dbms.h>
| class CDbStrings : public CBase |
| Public Member Functions | |
|---|---|
| virtual | ~CDbStrings() |
| void | AddL(const TDesC &) |
| TInt | Count() |
| CDbStrings * | NewLC() |
| const TDesC & | operator[](TInt) |
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;
| void | AddL | ( | const TDesC & | aStr | ) |
| Parameter | Description |
|---|---|
| aStr | String to be added to the array. |
| CDbStrings * | NewLC | ( | ) | [static] |
Returns: A pointer to the created CDbStrings object.