TMTPTypeInt128 Class Reference
class TMTPTypeInt128 : public MMTPType
|
Defines the MTP signed 128-bit integer data type.
Constructor & Destructor Documentation
TMTPTypeInt128()
IMPORT_C
|
TMTPTypeInt128
|
(
|
)
|
|
TMTPTypeInt128(const TPtrC8 &)
IMPORT_C
|
TMTPTypeInt128
|
(
|
const
TPtrC8
&
|
aData
|
)
|
|
Member Functions Documentation
FirstReadChunk(TPtrC8 &)
IMPORT_C
TInt
|
FirstReadChunk
|
(
|
TPtrC8
&
|
aChunk
|
)
|
const [virtual]
|
Initiates a data read sequence on the type by providing a const pointer to the first in the sequence of data chunks that make up the type's data stream. Subsequent chunks in the sequence can be sequentially retrieved using NextReadChunk.
NextReadChunk
.
Parameters
TPtrC8
& aChunk
|
The const pointer to be set to point to the start of the first data chunk. This pointer's length is set to zero if no data chunk exists or a processing error occurs.
|
FirstWriteChunk(TPtr8 &)
IMPORT_C
TInt
|
FirstWriteChunk
|
(
|
TPtr8
&
|
aChunk
|
)
|
[virtual]
|
Initiates a data write sequence on the type by providing a non-const pointer to the first in the sequence of data chunks that make up the type's data stream. Subsequent chunks in the sequence can be sequentially retrieved using NextWriteChunk.
NextWriteChunk
.
Parameters
TPtr8
& aChunk
|
The non-const pointer to be set to point to the start of the first data chunk. If successful, the pointer's Length is set to zero, and MaxLength is set to the available capacity of the data chunk. If not successful, the pointer's MaxLength is set to zero.
|
LowerValue()
IMPORT_C
TUint64
|
LowerValue
|
(
|
)
|
const
|
Provides the least significant portion of the data type.
NextReadChunk(TPtrC8 &)
IMPORT_C
TInt
|
NextReadChunk
|
(
|
TPtrC8
&
|
aChunk
|
)
|
const [virtual]
|
Continues a data read sequence on the type by providing a const pointer to the next in the sequence of data chunks that make up the type's data stream. This data read sequence should have been previously initiated by invoking FirstReadChunk.
FirstReadChunk
.
Parameters
TPtrC8
& aChunk
|
The const pointer to be set to point to the start of the next data chunk. This pointer's length is set to zero if no data chunk exists or a processing error occurs.
|
NextWriteChunk(TPtr8 &)
IMPORT_C
TInt
|
NextWriteChunk
|
(
|
TPtr8
&
|
aChunk
|
)
|
[virtual]
|
Continues a data write sequence on the type by providing a non-const pointer to the next in the sequence of data chunks that make up the type's data stream. This data write sequence should have been previously initiated by invoking FirstWriteChunk.
FirstReadChunk
.
Parameters
TPtr8
& aChunk
|
The non-const pointer to be set to point to the start of the next data chunk. If successful, the pointer's Length is set to zero, and MaxLength is set to the available capacity of the data chunk. If not successful, the pointer's MaxLength is set to zero..
|
Set(TInt64, TUint64)
Sets the data type to the specified value.
Size()
IMPORT_C
TUint64
|
Size
|
(
|
)
|
const [virtual]
|
Provides the size in bytes of the MTP data type.
Type()
IMPORT_C
TUint
|
Type
|
(
|
)
|
const [virtual]
|
Provides the MTP data type identification datacode.
UpperValue()
IMPORT_C
TInt64
|
UpperValue
|
(
|
)
|
const
|
Provides the most significant portion of type's value.
Member Data Documentation
const TInt KMTPTypeInt128OffsetLS
const
TInt
|
KMTPTypeInt128OffsetLS
|
[private, static]
|
Least significant 64-bit buffer offset.
const TInt KMTPTypeInt128OffsetMS
const
TInt
|
KMTPTypeInt128OffsetMS
|
[private, static]
|
Most significant 64-bit buffer offset.
TBuf8< KMTPTypeINT128Size > iData
TBuf8
< KMTPTypeINT128Size >
|
iData
|
[private]
|
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.