Swi::Sis::CField Class Reference
class Swi::Sis::CField : public CBase |
This class represents a Field. Field is a basic structure found in files. It is described in SGL.GT0188.251.
Protected Member Functions |
---|
| CField() |
void | CalculateCrcL(MSisDataProvider &, const TInt64, TUint16 &) |
void | CheckedReadL(MSisDataProvider &, TDes8 &, TInt64 &) |
void | CheckedReadL(MSisDataProvider &, TDes8 &, TInt, TInt64 &) |
void | ConstructL(MSisDataProvider &, TFieldType, TInt64 &, TReadTypeBehaviour) |
void | ConstructL(TPtrProvider &, TFieldType, TInt64 &, TReadTypeBehaviour) |
void | CreateHeader(TFieldType, TFieldLength, TDes8 &) |
void | EnsureAlignedL(MSisDataProvider &, TInt64, TInt64 &, TReadTypeBehaviour) |
void | EnsureAlignedL(TPtrProvider &, TInt64, TInt64 &, TReadTypeBehaviour) |
void | ReadEnumL(MSisDataProvider &, EnumType &, TInt64 &) |
void | ReadEnumL(TPtrProvider &, EnumType &, TInt64 &) |
void | ReadMemberArrayL(MSisDataProvider &, RPointerArray< T > &, TFieldType, TInt64 &, TReadTypeBehaviour) |
void | ReadMemberArrayL(TPtrProvider &, RPointerArray< T > &, TFieldType, TInt64 &, TReadTypeBehaviour) |
void | ReadMemberCollectionL(MSisDataProvider &, RPointerArray< T > &, TFieldType, TFieldType, TInt64 &, TReadTypeBehaviour) |
void | ReadMemberCollectionL(TPtrProvider &, RPointerArray< T > &, TFieldType, TFieldType, TInt64 &, TReadTypeBehaviour) |
void | ReadTTypeL(MSisDataProvider &, T &, TInt64 &) |
void | ReadTTypeL(TPtrProvider &, T &, TInt64 &) |
void | SkipUnknownFieldsL(MSisDataProvider &, TInt64, TInt64 &, TReadTypeBehaviour) |
void | SkipUnknownFieldsL(TPtrProvider &, TInt64, TInt64 &, TReadTypeBehaviour) |
Constructor & Destructor Documentation
CField(const CField &)
CField | ( | const CField & | aField | ) | [private] |
Member Functions Documentation
CalculateCrcL(MSisDataProvider &, const TInt64, TUint16 &)
CheckedReadL(MSisDataProvider &, TDes8 &, TInt64 &)
CheckedReadL(MSisDataProvider &, TDes8 &, TInt, TInt64 &)
ConstructL(MSisDataProvider &, TFieldType, TInt64 &, TReadTypeBehaviour)
The second phase constructor.
Parameters
MSisDataProvider & aDataProvider | An instance of a MSisDataProvider to read the entity from. |
TFieldType aFieldType | The field type we are attempting to read. |
TInt64 & aBytesRead | |
TReadTypeBehaviour aTypeReadBehaviour | Whether we need to check the sis type or not. |
ConstructL(TPtrProvider &, TFieldType, TInt64 &, TReadTypeBehaviour)
The second phase in place constructor.
Parameters
TPtrProvider & aDataProvider | An instance of a TPtrProvider to read the entity from. |
TFieldType aFieldType | The field type we are attempting to read. |
TInt64 & aBytesRead | |
TReadTypeBehaviour aTypeReadBehaviour | Whether we need to check the sis type or not. |
CreateHeader(TFieldType, TFieldLength, TDes8 &)
EnsureAlignedL(MSisDataProvider &, TInt64, TInt64 &, TReadTypeBehaviour)
EnsureAlignedL(TPtrProvider &, TInt64, TInt64 &, TReadTypeBehaviour)
FieldType()
This function returns the value of the Type part of the Field.
HeaderSize(TArrayStatus)
Each SISField has and header comprising its type and its length. This last attribute has variable size. This method can be used to ascertain the size of the header.
Length()
This function returns the value of the Length part of the Field.
PaddingSize()
TInt
| PaddingSize | ( | ) | const [inline] |
SISFields can be padded, use this function to learn how many padding bytes are used in this SISField.
ReadEnumL(MSisDataProvider &, EnumType &, TInt64 &)
void | ReadEnumL | ( | MSisDataProvider & | aDataProvider, |
| EnumType & | aValue, |
| TInt64 & | aBytesRead |
| ) | [protected, static, inline] |
ReadEnumL(TPtrProvider &, EnumType &, TInt64 &)
void | ReadEnumL | ( | TPtrProvider & | aDataProvider, |
| EnumType & | aValue, |
| TInt64 & | aBytesRead |
| ) | [protected, static, inline] |
ReadLengthL(MSisDataProvider &, TInt64 &)
ReadLengthL(TPtrProvider &, TInt64 &)
ReadMemberArrayL(MSisDataProvider &, RPointerArray< T > &, TFieldType, TInt64 &, TReadTypeBehaviour)
ReadMemberArrayL(TPtrProvider &, RPointerArray< T > &, TFieldType, TInt64 &, TReadTypeBehaviour)
ReadMemberCollectionL(MSisDataProvider &, RPointerArray< T > &, TFieldType, TFieldType, TInt64 &, TReadTypeBehaviour)
ReadMemberCollectionL(TPtrProvider &, RPointerArray< T > &, TFieldType, TFieldType, TInt64 &, TReadTypeBehaviour)
ReadTTypeL(MSisDataProvider &, T &, TInt64 &)
ReadTTypeL(TPtrProvider &, T &, TInt64 &)
void | ReadTTypeL | ( | TPtrProvider & | aDataProvider, |
| T & | aValue, |
| TInt64 & | aBytesRead |
| ) | [protected, static, inline] |
ReadTypeL(MSisDataProvider &, TFieldType, TInt64 &, TReadTypeBehaviour)
ReadTypeL(TPtrProvider &, TFieldType, TInt64 &, TReadTypeBehaviour)
SkipUnknownFieldsL(MSisDataProvider &, TInt64, TInt64 &, TReadTypeBehaviour)
SkipUnknownFieldsL(TPtrProvider &, TInt64, TInt64 &, TReadTypeBehaviour)
operator=(const CField &)
Member Enumerations Documentation
Member Data Documentation
TInt
iHeaderSize
TInt
| iHeaderSize | [private] |
Size of the SISField header if it were not stored in an array so 12 if length is stored in 8 bytes and 8 if length is stored in 4 bytes
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.