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

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

Function Logic:

0:START 1:hzMapS::Exists 2:m_UserTypes.Exists(utname) 3:Return E_DUPLICATE 4:utype x 5:x 6:utype 7:hzMapS::Insert hzLogger::Out 8:Return E_OK

Function body:

hzEcode hdsApp::AddUserType (const hzString& utname)
{
   _hzfunc("hdsApp::AddUserType") ;
   uint32_t    utype ;
   uint32_t    x ;
   if (m_UserTypes.Exists(utname))
       return E_DUPLICATE ;
   utype = 1;
   for (x = 0; x < m_UserTypes.Count() ; x++)
       utype *= 2;
   m_UserTypes.Insert(utname, utype) ;
   m_pLog->Out("Added USER TYPE %s access %d\n", *utname, utype) ;
   return E_OK ;
}