#pragma once #ifndef CDateTimeTypeData_h #define CDateTimeTypeData_h #include <sys/timeb.h> #include "AMessageData.h" #include "CPoolObject.h" namespace CoreFW { class CORE_DLL_DECLARATION_SPECIFIER CDateTimeTypeData : public AMessageData { friend class CPoolObject<CDateTimeTypeData> ; protected: CDateTimeTypeData() ; CDateTimeTypeData( const CDateTimeTypeData &DateTimeTypeData ) ; virtual ~CDateTimeTypeData() ; CDateTimeTypeData& operator=( const CDateTimeTypeData &CDateTimeTypeData ) ; public: void Release() ; AMessageData* Copy() ; const _timeb& GetDateTimeData() const ; void SetDateTimeData( const _timeb &tDateTimeData ) ; static CDateTimeTypeData* GetAvailable() ; private: void ReleaseParameters() ; void ReleaseCDateTimeTypeData() ; void CopyCDateTimeTypeData( const CDateTimeTypeData &DateTimeTypeData ) ; private: _timeb m_tDateTimeData ; } ; inline const _timeb& CDateTimeTypeData::GetDateTimeData() const { return m_tDateTimeData ; } inline void CDateTimeTypeData::SetDateTimeData( const _timeb &tDateTimeData ) { m_tDateTimeData = tDateTimeData ; } } // 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)