CNSmlFolderParser Class Reference

class CNSmlFolderParser : public CNSmlXmlParser

Inherits from

Nested Classes and Structures

Public Member Functions
~CNSmlFolderParser ()
IMPORT_C void AddExtL ( CNSmlExtData *)
IMPORT_C TInt CountXmlSizeL ()
IMPORT_C TNSmlParserGeneratorError GenerateXml ( HBufC8 *&)
IMPORT_C CNSmlFolderParser * NewL ()
IMPORT_C CNSmlFolderParser * NewLC ()
IMPORT_C TNSmlParserGeneratorError ParseXml ( HBufC8 *)
Protected Member Functions
void NextDataL ( TPtrC8 )
void NextElementL ( TPtrC8 )
Private Member Functions
CNSmlFolderParser ()
void ConstructL ()
void ConvertIntoEntitiesL ()
void EndElementStateChangeL ( TNSmlCurrentFolderElement , TNSmlCurrentFolderElement )
void GenerateFolderXmlL ( HBufC8 *&)
void StartElementStateChangeL ( 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
enum TNSmlCurrentFolderElement {
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 void AddExtL ( CNSmlExtData * aExt )

Parameters

CNSmlExtData * aExt

ConstructL()

void ConstructL ( ) [private]

ConvertIntoEntitiesL()

void ConvertIntoEntitiesL ( ) [private]

CountXmlSizeL()

IMPORT_C TInt CountXmlSizeL ( ) [virtual]

EndElementStateChangeL(TNSmlCurrentFolderElement, TNSmlCurrentFolderElement)

void EndElementStateChangeL ( TNSmlCurrentFolderElement aCurrentState,
TNSmlCurrentFolderElement aNextState
) [private]

GenerateFolderXmlL(HBufC8 *&)

void GenerateFolderXmlL ( HBufC8 *& aXml ) [private]

Parameters

HBufC8 *& aXml

GenerateXml(HBufC8 *&)

IMPORT_C TNSmlParserGeneratorError GenerateXml ( HBufC8 *& aXml ) [virtual]

Parameters

HBufC8 *& aXml

NewL()

IMPORT_C CNSmlFolderParser * NewL ( ) [static]

NewLC()

IMPORT_C CNSmlFolderParser * NewLC ( ) [static]

NextDataL(TPtrC8)

void NextDataL ( TPtrC8 aData ) [protected, virtual]

Parameters

TPtrC8 aData

NextElementL(TPtrC8)

void NextElementL ( TPtrC8 aElement ) [protected, virtual]

Parameters

TPtrC8 aElement

ParseXml(HBufC8 *)

IMPORT_C TNSmlParserGeneratorError ParseXml ( HBufC8 * aXml ) [virtual]

Parameters

HBufC8 * aXml

StartElementStateChangeL(TNSmlCurrentFolderElement, TNSmlCurrentFolderElement, TBool)

void StartElementStateChangeL ( TNSmlCurrentFolderElement aCurrentState,
TNSmlCurrentFolderElement aNextState,
TBool aIsSet = 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]