Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <obexobjects.h>
Link against: obex.lib

Class CObexNullObject

class CObexNullObject : public CObexBaseObject;

Description

Concrete OBEX object with NULL data representation. Use when only the headers of an object are required, and the data (if any) can safely be discarded.

Derivation

Members

Defined in CObexNullObject:

Inherited from CBase:

Inherited from CObexBaseObject:


Construction and destruction


NewL()

IMPORT_C static CObexNullObject* NewL();

Description

Allocates and constructs a new null object.

Return value

CObexNullObject *

New null object

[Top]


Member functions


GetData(TInt,TDes8 &)

private: virtual void GetData(TInt aPos, TDes8 &aDes);

Description

To return "NULL" data, we simply set aDes.Size = 0

Parameters

TInt aPos

TDes8 &aDes


NewData(TInt,TDes8 &)

private: virtual void NewData(TInt aPos, TDes8 &aDes);

Description

In order to appear to consume the data, we don't set aDes.Size = 0

Parameters

TInt aPos

TDes8 &aDes


DataSize()

private: virtual TInt DataSize();

Description

Return value

TInt


ResetData()

private: virtual void ResetData();

Description