| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | hdsApp::AddUserType | (const hzString&,) |
Declared in file: hzDissemino.h
Defined in file : hdsCore.cpp
Function Logic:
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 ;
}