Return TypeFunction nameArguments
hzEcodehdsApp::SetCookieName(const hzString&,)

Declared in file: hzDissemino.h
Defined in file : hdsCore.cpp

Function Logic:

0:START 1:!cookieBase 2:Return E_ARGUMENT 3:m_CookieName 4:Return E_SETONCE 5:items 6:*i; 7:*i>(char)32 8:hzChain::AddByte 9:m_CookieName hzChain::Clear 10:Return E_OK

Function body:

hzEcode hdsApp::SetCookieName (const hzString& cookieBase)
{
   _hzfunc("hdsSphere::SetCookieName") ;
   if (!cookieBase)    return E_ARGUMENT ;
   if (m_CookieName)   return E_SETONCE ;
   hzChain     Z ;
   const char* i ;
   Z << "_hz_" ;
   for (i = *cookieBase ; *i ; i++)
   {
       if (*i > CHAR_SPACE)
           Z.AddByte(*i) ;
   }
   m_CookieName = Z ;
   Z.Clear() ;
   return E_OK ;
}