#pragma once #ifndef CSIPDateParser_h #define CSIPDateParser_h #include "ASIPParser.h" namespace SIPParserFW { class SIP_PARSER_DLL_DECLARATION_SPECIFIER CSIPDateParser : public ASIPParser { friend class CPoolObject<CSIPDateParser> ; protected: CSIPDateParser() ; CSIPDateParser( const CSIPDateParser &SIPDateParser ) ; virtual ~CSIPDateParser() ; CSIPDateParser& operator=( const CSIPDateParser &SIPDateParser ) ; public: void Release() ; ASIPParser* Copy() ; FW_RETURN_TYPE Parse( const std::string &strStringToParse ) ; std::string ToString() const ; std::string GetHeaderName() const ; public: void SetDateString( const std::string &strDateString ) ; const std::string& GetDateString() const ; public: static CSIPDateParser* GetAvailable() ; private: void ReleaseParameters() ; private: void ReleaseCSIPDateParserData() ; void CopyCSIPDateParserData( const CSIPDateParser &SIPDateParser ) ; private: std::string m_strDateString ; } ; inline void CSIPDateParser::SetDateString( const std::string &strDateString ) { m_strDateString = strDateString ; } inline const std::string& CSIPDateParser::GetDateString() const { return m_strDateString ; } } // 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)