![]() |
operator =() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Operator |
Declared in: DNSAnswer.h |
DeclarationCDNSAnswer & operator =( const CDNSAnswer& rAnswer);
DescriptionAssignment operator
Function Body
//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;
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |