TimestampAttributeFactory.cpp
Go to the documentation of this file.00001
00009 #include "TimestampAttributeFactory.h"
00010 #include "TimestampAttribute.h"
00011
00012 #include "ToolkitUtils.h"
00013 #include "components.h"
00014
00016 struct CPKIFTimestampAttributeFactoryImpl
00017 {
00018 };
00020
00028 CPKIFTimestampAttributeFactory::CPKIFTimestampAttributeFactory()
00029 :m_impl (new CPKIFTimestampAttributeFactoryImpl)
00030 {
00031 LOG_STRING_DEBUG("CPKIFTimestampAttributeFactory::CPKIFTimestampAttributeFactory()", TOOLKIT_MESSAGE_ASN, 0, this);
00032 }
00040 void CPKIFTimestampAttributeFactory::Initialize()
00041 {
00042 LOG_STRING_DEBUG("CPKIFTimestampAttributeFactory::Initialize()", TOOLKIT_MESSAGE_ASN, 0, this);
00043 }
00051 CPKIFTimestampAttributeFactory::~CPKIFTimestampAttributeFactory()
00052 {
00053 LOG_STRING_DEBUG("CPKIFTimestampAttributeFactory::~CPKIFTimestampAttributeFactory()", TOOLKIT_MESSAGE_ASN, 0, this);
00054
00055 delete m_impl;
00056 m_impl = NULL;
00057 }
00058
00066
00068
00069
00070
00071
00072
00073
00074
00075
00076
00084 CPKIFAttributePtr CPKIFTimestampAttributeFactory::create(
00086 const CPKIFBufferPtr& buf)
00087 {
00088 LOG_STRING_DEBUG("CPKIFTimestampAttributeFactory::create(const CACCMSAttribute& ext)", TOOLKIT_MESSAGE_ASN, 0, this);
00089
00090 CPKIFTimestampAttributePtr tmp(new CPKIFTimestampAttribute(buf));
00091 return tmp;
00092 }
00093
00094
00103 const char* CPKIFTimestampAttributeFactory::refOID()
00104 {
00105 return CPKIFTimestampAttribute::extOID;
00106 }