class TElementEncoder |
Public Member Functions | |
---|---|
TElementEncoder(TDes8 &) | |
IMPORT_C TInt | EncodedSize(TSdpElementType, TUint) |
IMPORT_C TInt | HeaderSize(TSdpElementType, TUint) |
IMPORT_C void | PutUint(TUint8 *, TUint, TInt) |
IMPORT_C TSdpElementSizeDesc | SizeDescriptor(TSdpElementType, TUint) |
IMPORT_C TInt | WriteBoolean(TBool) |
IMPORT_C TInt | WriteDEA(TUint) |
IMPORT_C TInt | WriteDES(TUint) |
IMPORT_C TInt | WriteDesc(const TDesC8 &) |
IMPORT_C TInt | WriteElement(TSdpElementType, const TDesC8 &) |
IMPORT_C TInt | WriteHeader(TSdpElementType, TUint) |
IMPORT_C TInt | WriteInt(const TDesC8 &) |
IMPORT_C TInt | WriteInt(TInt, TInt) |
IMPORT_C TInt | WriteNil() |
IMPORT_C TInt | WriteString(const TDesC8 &) |
IMPORT_C TInt | WriteURL(const TDesC8 &) |
IMPORT_C TInt | WriteUUID(const TUUID &) |
IMPORT_C TInt | WriteUint(const TDesC8 &) |
IMPORT_C TInt | WriteUint(TUint, TInt) |
Private Attributes | |
---|---|
TDes8 & | iWriteBuf |
IMPORT_C | TElementEncoder | ( | TDes8 & | aWriteBuffer | ) |
TDes8 & aWriteBuffer |
IMPORT_C TInt | EncodedSize | ( | TSdpElementType | aType, |
TUint | aDataSize | |||
) | [static] |
TSdpElementType aType | |
TUint aDataSize |
IMPORT_C TInt | HeaderSize | ( | TSdpElementType | aType, |
TUint | aDataSize | |||
) | [static] |
TSdpElementType aType | |
TUint aDataSize |
IMPORT_C void | PutUint | ( | TUint8 * | aPtr, |
TUint | aUint, | |||
TInt | aNumberOfBytes | |||
) | [static] |
IMPORT_C TSdpElementSizeDesc | SizeDescriptor | ( | TSdpElementType | aType, |
TUint | aDataSize | |||
) | [static] |
TSdpElementType aType | |
TUint aDataSize |
IMPORT_C TInt | WriteDesc | ( | const TDesC8 & | aDesc | ) |
Append descriptor onto the write buffer. returns the number of bytes that did NOT fit into the write buffer.
const TDesC8 & aDesc |
IMPORT_C TInt | WriteElement | ( | TSdpElementType | aType, |
const TDesC8 & | aData | |||
) |
TSdpElementType aType | |
const TDesC8 & aData |
IMPORT_C TInt | WriteHeader | ( | TSdpElementType | aType, |
TUint | aDataSize | |||
) |
TSdpElementType aType | |
TUint aDataSize |
IMPORT_C TInt | WriteString | ( | const TDesC8 & | aString | ) |
const TDesC8 & aString |
IMPORT_C TInt | WriteUint | ( | const TDesC8 & | aUint | ) |
const TDesC8 & aUint |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.