#pragma once #ifndef CSIPInfoParser_h #define CSIPInfoParser_h #include "ASIPParser.h" #include "CSIPParamListParser.h" namespace SIPParserFW { class SIP_PARSER_DLL_DECLARATION_SPECIFIER CSIPInfoParser : public ASIPParser { friend class CPoolObject<CSIPInfoParser> ; protected: CSIPInfoParser() ; CSIPInfoParser( const CSIPInfoParser &SIPInfoParser ) ; virtual ~CSIPInfoParser() ; CSIPInfoParser& operator=( const CSIPInfoParser &SIPInfoParser ) ; public: void Release() ; ASIPParser* Copy() ; FW_RETURN_TYPE Parse( const std::string &strStringToParse ) ; std::string ToString() const ; public: void SetAbsoluteURI( const std::string &strAbsoluteURI ) ; const std::string& GetAbsoluteURI() const ; FW_RETURN_TYPE QuerySIPInfoParameters( CSIPParamListParser **pSIPInfoParameters ) ; CSIPParamListParser* GetSIPInfoParameters() ; public: static CSIPInfoParser* GetAvailable() ; private: void ReleaseParameters() ; private: void ReleaseCSIPInfoParserData() ; void CopyCSIPInfoParserData( const CSIPInfoParser &SIPInfoParser ) ; private: std::string m_strAbsoluteURI ; CSIPParamListParser *m_pSIPInfoParameters ; } ; inline CSIPParamListParser* CSIPInfoParser::GetSIPInfoParameters() { return m_pSIPInfoParameters ; } inline void CSIPInfoParser::SetAbsoluteURI( const std::string &strAbsoluteURI ) { m_strAbsoluteURI = strAbsoluteURI ; } inline const std::string& CSIPInfoParser::GetAbsoluteURI() const { return m_strAbsoluteURI ; } } // End namespace #endif
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)