CNSmlFolderParser Class Reference

class CNSmlFolderParser : public CNSmlXmlParser

Inherits from

Nested Classes and Structures

Public Member Functions
~CNSmlFolderParser()
IMPORT_C voidAddExtL(CNSmlExtData *)
IMPORT_C TIntCountXmlSizeL()
IMPORT_C TNSmlParserGeneratorErrorGenerateXml(HBufC8 *&)
IMPORT_C CNSmlFolderParser *NewL()
IMPORT_C CNSmlFolderParser *NewLC()
IMPORT_C TNSmlParserGeneratorErrorParseXml(HBufC8 *)
Protected Member Functions
voidNextDataL(TPtrC8)
voidNextElementL(TPtrC8)
Private Member Functions
CNSmlFolderParser()
voidConstructL()
voidConvertIntoEntitiesL()
voidEndElementStateChangeL(TNSmlCurrentFolderElement, TNSmlCurrentFolderElement)
voidGenerateFolderXmlL(HBufC8 *&)
voidStartElementStateChangeL(TNSmlCurrentFolderElement, TNSmlCurrentFolderElement, TBool)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CNSmlXmlParser::AddToBufferL(const TText,HBufC8 *&)const
CNSmlXmlParser::AddToCompleteL(const TPtrC8)
CNSmlXmlParser::AppendElement(TPtr8 &,const TDesC8 &)const
CNSmlXmlParser::AppendElement(TPtr8 &,const TDesC8 &,const TDesC8 &)const
CNSmlXmlParser::AppendEndElement(TPtr8 &,const TDesC8 &)const
CNSmlXmlParser::BooleanToString(const TNSmlBoolean)const
CNSmlXmlParser::CNSmlXmlParser()
CNSmlXmlParser::CharactersToEntitiesL(HBufC8 *&,TInt,TInt)const
CNSmlXmlParser::CheckError(const TInt)const
CNSmlXmlParser::DateTimeToStringL(const TTime &)const
CNSmlXmlParser::EntitiesToCharactersL(HBufC8 *&,TInt,TInt)const
CNSmlXmlParser::IntegerToString(const TInt)const
CNSmlXmlParser::IsWhitespace(const TDesC8 &)const
CNSmlXmlParser::LeaveIfNotWhiteSpaceL(const TDesC8 &)const
CNSmlXmlParser::ParseL(TPtrC8 &)
CNSmlXmlParser::PreProcessL(HBufC8 *)const
CNSmlXmlParser::ResetBufferL(HBufC8 *&)const
CNSmlXmlParser::SizeOfBoolean(const TNSmlBoolean,const TDesC8 &)const
CNSmlXmlParser::SizeOfDatetime(const TDesC8 &)const
CNSmlXmlParser::SizeOfElements(const TDesC8 &)const
CNSmlXmlParser::SizeOfInteger(const TDesC8 &)const
CNSmlXmlParser::SizeOfString(const HBufC8 *,const TDesC8 &)const
CNSmlXmlParser::StringToBooleanL(const TPtrC8 &)const
CNSmlXmlParser::StringToIntegerL(const TPtrC8 &)const
CNSmlXmlParser::StringToTTimeL(TPtrC8 &)const
CNSmlXmlParser::~CNSmlXmlParser()
Protected Member Enumerations
enumTNSmlCurrentFolderElement {
EFolderNone = 0, EFolder, EFolderName, EFolderCreated, EFolderModified, EFolderAccessed, EAttributes, EAttributesH, EAttributesS, EAttributesA, EAttributesD, EAttributesW, EAttributesR, EAttributesX, EFolderRole, EFolderExt, EFolderExtXNam, EFolderExtXVal
}
Public Attributes
TTime iAccessed
TNSmlFolderAttributeData iAttributes
TTime iCreated
CNSmlExtDataArray *iExt
TTime iModified
HBufC8 *iName
HBufC8 *iRole
Private Attributes
TNSmlCurrentFolderElement iCurrentState
CNSmlExtData *iExtData
TNSmlCurrentFolderElement iLastState
TNSmlSetFolderValues iSetValues
Inherited Attributes
CNSmlXmlParser::iBuffer
CNSmlXmlParser::iCompleteBuffer

Constructor & Destructor Documentation

CNSmlFolderParser()

CNSmlFolderParser()[private]

~CNSmlFolderParser()

IMPORT_C~CNSmlFolderParser()[virtual]

Member Functions Documentation

AddExtL(CNSmlExtData *)

IMPORT_C voidAddExtL(CNSmlExtData *aExt)

Parameters

CNSmlExtData * aExt

ConstructL()

voidConstructL()[private]

ConvertIntoEntitiesL()

voidConvertIntoEntitiesL()[private]

CountXmlSizeL()

IMPORT_C TIntCountXmlSizeL()[virtual]

EndElementStateChangeL(TNSmlCurrentFolderElement, TNSmlCurrentFolderElement)

voidEndElementStateChangeL(TNSmlCurrentFolderElementaCurrentState,
TNSmlCurrentFolderElementaNextState
)[private]

Parameters

TNSmlCurrentFolderElement aCurrentState
TNSmlCurrentFolderElement aNextState

GenerateFolderXmlL(HBufC8 *&)

voidGenerateFolderXmlL(HBufC8 *&aXml)[private]

Parameters

HBufC8 *& aXml

GenerateXml(HBufC8 *&)

IMPORT_C TNSmlParserGeneratorErrorGenerateXml(HBufC8 *&aXml)[virtual]

Parameters

HBufC8 *& aXml

NewL()

IMPORT_C CNSmlFolderParser *NewL()[static]

NewLC()

IMPORT_C CNSmlFolderParser *NewLC()[static]

NextDataL(TPtrC8)

voidNextDataL(TPtrC8aData)[protected, virtual]

Parameters

TPtrC8 aData

NextElementL(TPtrC8)

voidNextElementL(TPtrC8aElement)[protected, virtual]

Parameters

TPtrC8 aElement

ParseXml(HBufC8 *)

IMPORT_C TNSmlParserGeneratorErrorParseXml(HBufC8 *aXml)[virtual]

Parameters

HBufC8 * aXml

StartElementStateChangeL(TNSmlCurrentFolderElement, TNSmlCurrentFolderElement, TBool)

voidStartElementStateChangeL(TNSmlCurrentFolderElementaCurrentState,
TNSmlCurrentFolderElementaNextState,
TBoolaIsSet = EFalse
)[private]

Parameters

TNSmlCurrentFolderElement aCurrentState
TNSmlCurrentFolderElement aNextState
TBool aIsSet = EFalse

Member Enumerations Documentation

Enum TNSmlCurrentFolderElement

Enumerators

EFolderNone = 0
EFolder
EFolderName
EFolderCreated
EFolderModified
EFolderAccessed
EAttributes
EAttributesH
EAttributesS
EAttributesA
EAttributesD
EAttributesW
EAttributesR
EAttributesX
EFolderRole
EFolderExt
EFolderExtXNam
EFolderExtXVal

Member Data Documentation

TTime iAccessed

TTime iAccessed

TNSmlFolderAttributeData iAttributes

TNSmlFolderAttributeData iAttributes

TTime iCreated

TTime iCreated

TNSmlCurrentFolderElement iCurrentState

TNSmlCurrentFolderElement iCurrentState[private]

CNSmlExtDataArray * iExt

CNSmlExtDataArray *iExt

CNSmlExtData * iExtData

CNSmlExtData *iExtData[private]

TNSmlCurrentFolderElement iLastState

TNSmlCurrentFolderElement iLastState[private]

TTime iModified

TTime iModified

HBufC8 * iName

HBufC8 *iName

HBufC8 * iRole

HBufC8 *iRole

TNSmlSetFolderValues iSetValues

TNSmlSetFolderValues iSetValues[private]