S60 3rd Edition API Reference: sipaddressheaderbase.h Source File

sipaddressheaderbase.h

Go to the documentation of this file.
00001 /*
00002 * =============================================================================
00003 *  Name        : sipaddressheaderbase.h
00004 *  Part of     : SIP Codec
00005 *  Interface   : SDK API, SIP Codec API
00006 *  Description : 
00007 *  Version     : SIP/4.0 
00008 *
00009 *  Copyright (c) 2004 Nokia Corporation. 
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation. All rights are reserved. Copying, 
00013 *  including reproducing, storing, adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia Corporation. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia Corporation. 
00018 * =============================================================================
00019 */
00020 
00021 
00022 #ifndef CSIPADDRESSHEADERBASE_H
00023 #define CSIPADDRESSHEADERBASE_H
00024 
00025 //  INCLUDES
00026 #include "SipParameterHeaderBase.h"
00027 #include "_sipcodecdefs.h"
00028 
00029 // FORWARD DECLARATIONS
00030 class CSIPAddress;
00031 class CSIPHeaderGenericParams;
00032 
00033 // CLASS DECLARATION
00043 class CSIPAddressHeaderBase : public CSIPParameterHeaderBase
00044         {
00045         public: // Constructors and destructor
00046 
00050         IMPORT_C virtual ~CSIPAddressHeaderBase();
00051 
00052 
00053         public: // New functions
00054 
00060                 IMPORT_C void SetSIPAddressL(CSIPAddress* aSIPAddress);
00061 
00066                 IMPORT_C const CSIPAddress& SIPAddress() const;
00067 
00072                 IMPORT_C CSIPAddress& SIPAddress();
00073 
00074 
00075         protected: // Constructors
00076 
00077                 CSIPAddressHeaderBase();
00078         void ConstructL();
00079                 void ConstructL(CSIPAddress* aSIPAddress);
00080         void ConstructL(const CSIPAddressHeaderBase& aHeader);
00081 
00082         protected: // Data
00083 
00084                 CSIPAddress* iSIPAddress;
00085                 CSIPHeaderGenericParams* iParams;
00086 
00087         protected: // New functions
00088 
00089                 void DoInternalizeValueL(RReadStream& aReadStream);
00090 
00091         protected: // From CSIPHeaderBase
00092 
00093                 void ExternalizeValueL(RWriteStream& aWriteStream) const;
00094 
00095         private: // From CSIPParameterHeaderBase
00096 
00097                 HBufC8* ToTextMandatoryPartLC() const;
00098                 void ParseMandatoryPartL(const TDesC8& aMandatoryPart);
00099                 const CSIPParamContainerBase& Params() const;
00100                 CSIPParamContainerBase& Params();
00101         };
00102 
00103 // end of CSIPADDRESSHEADERBASE_H
00104 #endif
00105 
00106 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top