Location:
D32DBMS.H
Link against: edbms.lib
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;
CBase
- Base class for all classes to be instantiated on the heap
CDbStrings
- CDbStrings encapsulates functionality used for transferring an array of strings from DBMS server to the DBMS client
Defined in CDbStrings
:
Count()
, operator[]()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
inline TInt Count() const;
|