#include <gsmubuf.h>
Link against: gsmu.lib
| 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:@88 | |
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.
| Parameters | |
|---|---|
| aPos | Position in the buffer to delete the data |
| aLength | The amount of data to delete from the buffer |
| Capability | |
|---|---|
| None |
Reimplemented from CSmsBufferBase::Extract(TDes &,TInt,TInt)const
Extracts buffer data to a descriptor.
| Parameters | |
|---|---|
| aBuf | On return, buffer data |
| aPos | Position within buffer to begin reading |
| aLength | The amount of data to read from the buffer |
| Capability | |
|---|---|
| None |
Reimplemented from CSmsBufferBase::InsertL(TInt,const TDesC &)
Inserts data into the buffer.
| Parameters | |
|---|---|
| aPos | Position in the buffer to insert the data |
| aBuf | The data to insert into the buffer |
| Capability | |
|---|---|
| None |
| IMPORT_C TInt | Length | ( | ) | const [virtual] |
Reimplemented from CSmsBufferBase::Length()const
Gets the amount of space currently used in the buffer.
| Capability | |
|---|---|
| None |
| IMPORT_C CSmsBuffer * | NewL | ( | ) | [static] |
Allocates and constructs the buffer.
| Capability | |
|---|---|
| None |
| IMPORT_C void | Reset | ( | ) | [virtual] |
Reimplemented from CSmsBufferBase::Reset()
| Capability | |
|---|---|
| None |