senfacet.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : SenFacet.h
00004 *  Part of     : Web Services Description
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright © 2002-2005 Nokia. All rights reserved.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia. All rights are reserved. Copying, including 
00013 *  reproducing, storing, adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia.
00018 * ==============================================================================
00019 */
00020 
00021 #ifndef SEN_FACET_H
00022 #define SEN_FACET_H
00023 
00024 // INCLUDES
00025 #include <SenBaseElement.h>
00026 
00027 // CONSTANTS
00028 _LIT8(KSenFacet,                "Facet");
00029 _LIT8(KFacetAttrName,   "name");
00030 _LIT8(KFacetAttrType,   "type");
00031 
00032 // CLASS DECLARATION
00033 class CSenFacet : public CSenBaseElement
00034     {
00035         public:
00036                 
00040                 IMPORT_C static CSenFacet* NewL();
00041 
00046                 IMPORT_C static CSenFacet* NewL(CSenElement& aCopiedSource);
00047 
00059         IMPORT_C static CSenFacet* NewL(const TDesC8& aNsUri,
00060                                                                                 const TDesC8& aLocalName,
00061                                                                                 const TDesC8& aQName,
00062                                                                                 const RAttributeArray& aAttributes);
00063 
00064         IMPORT_C virtual ~CSenFacet();
00065 
00066                 // New functions
00067                 
00072                 IMPORT_C virtual void SetNameL(const TDesC8& aName);
00073 
00078                 IMPORT_C virtual void SetTypeL(const TDesC8& aType);
00079 
00084                 IMPORT_C virtual void SetValueL(const TDesC8& aValue);
00085 
00090                 IMPORT_C virtual TPtrC8 Name();
00091 
00096                 IMPORT_C virtual TPtrC8 Type();
00097         
00102                 IMPORT_C virtual TPtrC8 Value();
00103 
00104         protected:
00105                 
00109                 IMPORT_C CSenFacet();
00110                 
00114                 IMPORT_C void ConstructL(const TDesC8& aLocalName);
00115                 IMPORT_C void ConstructL(CSenElement& aCopiedSource);
00116                 IMPORT_C void ConstructL(const TDesC8& aNsUri,
00117                                                                  const TDesC8& aLocalName,
00118                                                                  const TDesC8& aQName,
00119                                                                  const RAttributeArray& aAttributes);
00120         };
00121 
00122 // SEN_FACET_H
00123 #endif
00124 
00125 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top