RMBufInfoPacketBase Class Reference

class RMBufInfoPacketBase : public RMBufPacketBase

Inherits from

Public Member Functions
T *CreateCopyL(const RMBufQ &, TInt, TInt, TInt)
T *CreateCopyL(RMBufStreamQ &, TInt, TInt, TInt)
T *CreateCopyL(const RMBufPktQ &, TInt)
T *CreateL(TInt)
T *CreateL(const TDesC8 &, TInt)
T *CreateL(RMBufQ &, TInt)
T *Info()
T *NewInfo()
T *NewInfoL()
T *PeekInfo()
T *PeekInfoInChain(RMBufChain &)
T *Unpack()
Inherited Functions
RCommsBufChain::Alloc(TInt,TCommsBufAllocator &)
RCommsBufChain::Alloc(TInt,TInt,TCommsBufAllocator &)
RCommsBufChain::Alloc(TInt,TInt,TInt,TCommsBufAllocator &)
RCommsBufChain::Append(RCommsBuf *)
RCommsBufChain::Append(RCommsBufChain &)
RCommsBufChain::Assign(RCommsBufChain &)
RCommsBufChain::Goto(TInt,TInt &,TInt &)const
RCommsBufChain::Goto(TInt,TInt &,TInt &,RCommsBuf *&)const
RCommsBufChain::Prepend(RCommsBuf *)
RCommsBufChain::Prepend(RCommsBufChain &)
RCommsBufChain::RCommsBufChain()
RCommsBufChain::RCommsBufChain(RCommsBuf *)
RCommsBufChain::Read(TDes8 &,TInt)const
RCommsBufChain::Split(TInt,RCommsBufChain &)
RCommsBufChain::Write(const TDesC8 &,TInt)
RMBufChain::Align(TInt)
RMBufChain::Alloc(TInt)
RMBufChain::Alloc(TInt,RMBufAllocator &)
RMBufChain::Alloc(TInt,TInt)
RMBufChain::Alloc(TInt,TInt,RMBufAllocator &)
RMBufChain::Alloc(TInt,TInt,TInt)
RMBufChain::Alloc(TInt,TInt,TInt,RMBufAllocator &)
RMBufChain::AllocL(TInt)
RMBufChain::AllocL(TInt,RMBufAllocator &)
RMBufChain::Append(RMBufChain &)
RMBufChain::Append(TInt)
RMBufChain::Append(TInt,RMBufAllocator &)
RMBufChain::AppendL(TInt)
RMBufChain::Assign(RMBufChain &)
RMBufChain::Assign(RMBufQ &)
RMBufChain::Copy(RMBufChain &)const
RMBufChain::Copy(RMBufChain &,TInt)const
RMBufChain::Copy(RMBufChain &,TInt,TInt)const
RMBufChain::Copy(RMBufChain &,TInt,TInt,TInt)const
RMBufChain::CopyIn(const TDesC8 &,TInt)
RMBufChain::CopyL(RMBufChain &,TInt,TInt)const
RMBufChain::CopyOut(TDes8 &,TInt)const
RMBufChain::Create(const TDesC8 &,TInt)
RMBufChain::FillZ(TInt)
RMBufChain::First()
RMBufChain::First()const
RMBufChain::Goto(TInt,RMBuf *&,TInt &,TInt &)const
RMBufChain::Goto(TInt,RMBuf *&,TInt &,TInt &,RMBuf *&)const
RMBufChain::Init()
RMBufChain::IsEmpty()const
RMBufChain::Last()const
RMBufChain::Length()const
RMBufChain::Link(RMBufChain &)
RMBufChain::Next()
RMBufChain::Next()const
RMBufChain::NumBufs()const
RMBufChain::Prepend(RMBuf *)
RMBufChain::Prepend(RMBufChain &)
RMBufChain::Prepend(TInt)
RMBufChain::Prepend(TInt,RMBufAllocator &)
RMBufChain::PrependL(TInt)
RMBufChain::RMBufChain()
RMBufChain::RMBufChain(RCommsBuf *)
RMBufChain::ReAlloc(TInt)
RMBufChain::ReAllocL(TInt)
RMBufChain::Remove()
RMBufChain::Split(TInt,RMBufChain &)
RMBufChain::Split(TInt,RMBufChain &,RMBufAllocator &)
RMBufChain::SplitL(TInt,RMBufChain &)
RMBufChain::Unlink()
RMBufChain::operator=(RMBuf *)
RMBufPacketBase::CopyInfoL(RMBufPacketBase &)
RMBufPacketBase::CopyPackedL(RMBufChain &)
RMBufPacketBase::CreateCopyL(RMBufStreamQ &,TInt,TInt,TInt,TUint)
RMBufPacketBase::CreateCopyL(const RMBufPktQ &,TInt,TUint)
RMBufPacketBase::CreateCopyL(const RMBufQ &,TInt,TInt,TInt,TUint)
RMBufPacketBase::CreateL(RMBufQ &,TInt,TUint)
RMBufPacketBase::CreateL(TInt,TUint)
RMBufPacketBase::CreateL(const TDesC8 &,TInt,TUint)
RMBufPacketBase::Free()
RMBufPacketBase::FreeInfo()
RMBufPacketBase::NewInfo(TUint)
RMBufPacketBase::NewInfoL(TUint)
RMBufPacketBase::Pack()
RMBufPacketBase::RMBufPacketBase()
RMBufPacketBase::SetInfo(RMBufPktInfo *)
RMBufPacketBase::TrimEnd(TInt)
RMBufPacketBase::TrimStart(TInt)
Inherited Attributes
RCommsBufChain::iNext
RMBufPacketBase::iInfo

Member Functions Documentation

CreateCopyL(const RMBufQ &, TInt, TInt, TInt)

T *CreateCopyL(const RMBufQ &aPacket,
TIntaOffset,
TIntaLength,
TIntaHdrSize = 0
)[inline]

Create a Class T chain from an received MBuf Queue

Parameters

const RMBufQ & aPacketthe MBuf Queue
TInt aOffsetthe offset
TInt aLengththe length of the data to be copied
TInt aHdrSize = 0the header size

CreateCopyL(RMBufStreamQ &, TInt, TInt, TInt)

T *CreateCopyL(RMBufStreamQ &aStream,
TIntaOffset,
TIntaLength,
TIntaHdrSize = 0
)[inline]

Create a Class T chain by copying data from a stream queue (basically an RMBufQ) aOffset and aLength specify location in stream queue.

Parameters

RMBufStreamQ & aStreamthe stream queue
TInt aOffsetthe offset
TInt aLengththe data length
TInt aHdrSize = 0the header size

CreateCopyL(const RMBufPktQ &, TInt)

T *CreateCopyL(const RMBufPktQ &aList,
TIntaHdrSize = 0
)[inline]

Build a Class T chain by copying a packet queue list, leaving space on the front for a header. (Very heavily used in PPP option processing).

Parameters

const RMBufPktQ & aListthe packet queue
TInt aHdrSize = 0the header size

CreateL(TInt)

T *CreateL(TIntaHdrSize)[inline]

Create an empty Class T chain of required header size

Parameters

TInt aHdrSizethe header size

CreateL(const TDesC8 &, TInt)

T *CreateL(const TDesC8 &aDesc,
TIntaHdrSize = 0
)[inline]

Create a Class T chain and header from a descriptor

Parameters

const TDesC8 & aDescthe buffer of data
TInt aHdrSize = 0the header size

CreateL(RMBufQ &, TInt)

T *CreateL(RMBufQ &aPacket,
TIntaLength = 0
)[inline]

Create a Class T chain from an received MBuf Queue

Parameters

RMBufQ & aPacketthe MBuf Queue
TInt aLength = 0the chain length

Info()

T *Info()[inline]

Return pointer to info header

NewInfo()

T *NewInfo()[inline]

Create an info header

NewInfoL()

T *NewInfoL()[inline]

Create an info header

PeekInfo()

T *PeekInfo()[inline]

Allows the packet info header to be accessed without unpacking

PeekInfoInChain(RMBufChain &)

T *PeekInfoInChain(RMBufChain &aChain)[static, inline]

Allows the packet info header to be accessed while still on a packet queue

Parameters

RMBufChain & aChainthe chain to be accessed

Unpack()

T *Unpack()[inline]

Splits off the info header