![]() |
operator =() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Operator |
Declared in: DNSAnswer.h |
CDNSAnswer & operator =( const CDNSAnswer& rAnswer);
Assignment operator
//Check if we are the same? if (this==&rAnswer) return *this; //Start to copy the data m_aAnswerType=rAnswer.m_aAnswerType; m_aAnswer=rAnswer.m_aAnswer; m_usMXPriority=rAnswer.m_usMXPriority; m_aAnswer=rAnswer.m_aAnswer; //Delete the SOA delete m_pSOA; //Do we need to copy it if (rAnswer.m_pSOA) m_pSOA=new DNSSOARecord(*rAnswer.m_pSOA); else m_pSOA=NULL; //Done return *this;
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |