CObexNullObject Class Reference
| class CObexNullObject : public CObexBaseObject |
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.
Member Functions Documentation
ConstructL()
| void | ConstructL | ( | ) | [private] |
DataSize()
|
TInt
| DataSize | ( | ) | [private, virtual] |
GetData(TInt, TDes8 &)
| void | GetData | ( | TInt | aPos, |
| | TDes8 & | aDes |
| | ) | [private, virtual] |
To return "NULL" data, we simply set aDes.Size = 0
NewData(TInt, TDes8 &)
| void | NewData | ( | TInt | aPos, |
| | TDes8 & | aDes |
| | ) | [private, virtual] |
In order to appear to consume the data, we don't set aDes.Size = 0
NewL()
Allocates and constructs a new null object.
ResetData()
| void | ResetData | ( | ) | [private, virtual] |
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.