#include <gsmubuf.h>
| class CSmsBuffer : public CSmsBufferBase |
| Public Member Functions | |
|---|---|
| ~CSmsBuffer() | |
| virtual IMPORT_C void | DeleteL(TInt, TInt) |
| virtual IMPORT_C void | Extract(TDes &, TInt, TInt) |
| virtual IMPORT_C void | InsertL(TInt, const TDesC &) |
| virtual IMPORT_C TInt | Length() |
| IMPORT_C CSmsBuffer * | NewL() |
| virtual IMPORT_C void | Reset() |
| Inherited Enumerations | |
|---|---|
| CSmsBufferBase:@197 | |
This is the simplest implementation of CSmsBufferBase.
It stores the buffer in an array of TTexts.
Reimplemented from CSmsBufferBase::DeleteL(TInt,TInt)
Deletes data from the buffer.
| Parameter | Description |
|---|---|
| aPos | Position in the buffer to delete the data |
| aLength | The amount of data to delete from the buffer |
Reimplemented from CSmsBufferBase::Extract(TDes &,TInt,TInt)const
Extracts buffer data to a descriptor.
| Parameter | Description |
|---|---|
| aBuf | On return, buffer data |
| aPos | Position within buffer to begin reading |
| aLength | The amount of data to read from the buffer |
Reimplemented from CSmsBufferBase::InsertL(TInt,const TDesC &)
Inserts data into the buffer.
| Parameter | Description |
|---|---|
| aPos | Position in the buffer to insert the data |
| aBuf | The data to insert into the buffer |
| IMPORT_C TInt | Length | ( | ) | const [virtual] |
Reimplemented from CSmsBufferBase::Length()const
Gets the amount of space currently used in the buffer.
Returns: Amount of space currently used in the buffer
| IMPORT_C CSmsBuffer * | NewL | ( | ) | [static] |
Allocates and constructs the buffer.
Returns: New CSmsBuffer object
| IMPORT_C void | Reset | ( | ) | [virtual] |
Reimplemented from CSmsBufferBase::Reset()