Return TypeFunction nameArguments
boolhzUrl::operator==(const hzUrl&,)

Declared in file: hzUrl.h
Defined in file : hzUrl.cpp

Function Logic:

0:START 1:m_addr==testUrl.m_addr 2:Return true 3:!m_addr&&testUrl.m_addr 4:Return false 5:m_addr&&!testUrl.m_addr 6:Return false 7:hzSSR::Xlate thisCtl hzSSR::Xlate suppCtl 8:thisCtl->m_lenRes!=suppCtl->m_lenRes 9:Return false 10:thisCtl->m_port!=suppCtl->m_port 11:Return false 12:thisCtl->m_lenProt!=suppCtl->m_lenProt 13:Return false 14:thisCtl->m_lenDom!=suppCtl->m_lenDom 15:Return false 16:thisCtl->m_lenPort!=suppCtl->m_lenPort 17:Return false 18:Return strcmp(thisCtl->m_data,suppCtl->m_data)?false:true

Function body:

bool hzUrl::operator== (const hzUrl& testUrl)
{
   if (m_addr == testUrl.m_addr)   return true ;
   if (!m_addr && testUrl.m_addr)  return false ;
   if (m_addr && !testUrl.m_addr)  return false ;
   _url_space* thisCtl ;
   _url_space* suppCtl ;
   thisCtl = (_url_space*) g_ssrInet.Xlate(m_addr) ;
   suppCtl = (_url_space*) g_ssrInet.Xlate(testUrl.m_addr) ;
   if (thisCtl->m_lenRes != suppCtl->m_lenRes)     return false ;
   if (thisCtl->m_port != suppCtl->m_port)         return false ;
   if (thisCtl->m_lenProt != suppCtl->m_lenProt)   return false ;
   if (thisCtl->m_lenDom != suppCtl->m_lenDom)     return false ;
   if (thisCtl->m_lenPort != suppCtl->m_lenPort)   return false ;
   return strcmp(thisCtl->m_data, suppCtl->m_data) ? false : true ;
}