epoc32/include/delimitedpathsegment8.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __DELIMITEDPATHSEGMENT8_H__
    17 #define __DELIMITEDPATHSEGMENT8_H__
    18 
    19 /**
    20 	@file DelimitedPathSegment8.h
    21 	Comments :	This file contains the API definition for the classes TDelimitedPathSegmentParser8
    22 				and CDelimitedPathSegment8. 
    23 	@publishedAll
    24 	@released
    25  */
    26 
    27 // System includes
    28 //
    29 #include <e32base.h>
    30 #include <delimitedparser8.h>
    31 
    32 
    33 /**
    34 Dependencies : TDelimitedParserBase8
    35 Comments : Derived class from TDelimitedParserBase providing a class for parsing 
    36 path segments delimited by a ';' as defined in RFC2396.
    37 @publishedAll
    38 @released
    39 @since 6.0
    40 */
    41 class TDelimitedPathSegmentParser8 : public TDelimitedParserBase8
    42 	{
    43 public:	// Methods
    44 
    45 
    46 	IMPORT_C TDelimitedPathSegmentParser8();
    47 
    48 	IMPORT_C void Parse(const TDesC8& aPathSegment);
    49 
    50 	IMPORT_C void ParseReverse(const TDesC8& aPathSegment);
    51 	};
    52 
    53 /**
    54 Dependencies : CDelimitedStringBase8
    55 Comments : Provides functionality to create a delimited path segment where components of the 
    56 path segment delimited by '/' as defined in RFC2396.
    57 @publishedAll
    58 @released
    59 @since 6.0
    60 */
    61 class CDelimitedPathSegment8 : public CDelimitedDataBase8
    62 	{
    63 public:	// Methods
    64 
    65 	IMPORT_C static CDelimitedPathSegment8* NewL(const TDesC8& aPathSegment);
    66 
    67 	IMPORT_C static CDelimitedPathSegment8* NewLC(const TDesC8& aPathSegment);
    68 
    69 	IMPORT_C ~CDelimitedPathSegment8();
    70 
    71 	IMPORT_C void InsertAndEscapeCurrentL(const TDesC8& aParam);
    72 
    73 	IMPORT_C void PushAndEscapeFrontL(const TDesC8& aParam);
    74 
    75 	IMPORT_C void PushAndEscapeBackL(const TDesC8& aParam);
    76 
    77 private:	// Methods
    78 
    79 	CDelimitedPathSegment8();
    80 
    81 	void ConstructL(const TDesC8& aPathSegment);
    82 
    83 	};
    84 
    85 #endif // __DELIMITEDPATHSEGMENT8_H__