CStifParser Class Reference
class CStifParser : public CBase
|
Constructor & Destructor Documentation
CStifParser(TCommentType)
~CStifParser()
IMPORT_C
|
~CStifParser
|
(
|
)
|
|
Member Functions Documentation
ConstructL(const TDesC &, const TDesC &, const TDesC &)
By default Symbian OS constructor is private.
HandleSpecialMarks(TPtr &)
void
|
HandleSpecialMarks
|
(
|
TPtr
&
|
aBuf
|
)
|
[private]
|
NewL(const TDesC &, const TDesC &, TCommentType)
Two-phased constructor. Creating parser with path and file information. For default all information will be parsed(ENoComments).
NewL(const TDesC &, TCommentType)
Two-phased constructor. Creating parser with buffer information. For default all information will be parsed(ENoComments).
NextSectionFileL(const TDesC &, const TDesC &, TInt)
Open and read configuration source and parses a required section. If start tag is empty the parsing starts beging of the configuration file. If end tag is empty the parsing goes end of configuration file. This method will parse next section after the earlier section if aSeeked parameter is not given. If configuration file includes several sections with both start and end tags so aSeeked parameter seeks the required section. The aSeeked parameters indicates section that will be parsed.
NextSectionL(const TDesC &, const TDesC &, TInt)
Open and read configuration source and parses a required section. If start tag is empty the parsing starts beging of the configuration file. If end tag is empty the parsing goes end of configuration file. This method will parse next section after the earlier section if aSeeked parameter is not given. If configuration file includes several sections with both start and end tags so aSeeked parameter seeks the required section. The aSeeked parameters indicates section that will be parsed.
NextSectionMemoryL(const TDesC &, const TDesC &, TInt)
Open and read configuration source and parses a required section. If start tag is empty the parsing starts beging of the configuration file. If end tag is empty the parsing goes end of configuration file. This method will parse next section after the earlier section if aSeeked parameter is not given. If configuration file includes several sections with both start and end tags so aSeeked parameter seeks the required section. The aSeeked parameters indicates section that will be parsed.
ParseCommentsOff(TPtr &)
void
|
ParseCommentsOff
|
(
|
TPtr
&
|
aBuf
|
)
|
[private]
|
Convert a section without comments.
SectionL(const TDesC &, const TDesC &, TInt)
Open and read configuration source and parses a required section. If start tag is empty the parsing starts beging of the configuration file. If end tag is empty the parsing goes end of configuration file. This method starts always from beginning of configuration file and parses first section if aSeeked parameters is not given. If configuration file includes several sections with both start and end tags so aSeeked parameter seeks the required section. The aSeeked parameters indicates section that will be parsed.
Member Enumerations Documentation
Enum TCommentType
Enumerators
ENoComments
|
|
ECStyleComments
|
|
Enum TParsingMode
Enumerators
EFileParsing
|
|
EBufferParsing
|
|
Member Data Documentation
HBufC * iBufferTmp
HBufC
*
|
iBufferTmp
|
[private]
|
TCommentType
iCommentType
Comment type's indication.
CStifFileParser * iFileParser
CStifFileParser *
|
iFileParser
|
[private]
|
RFs
iFileServer
RFs
|
iFileServer
|
[private]
|
TBool
iIsUnicode
TBool
|
iIsUnicode
|
[private]
|
Flag indicating if file is unicode.
TInt
iOffset
Indicates position where we are currently.
TParsingMode
iParsingMode
Indication which mode of parsing are in use.
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.