Example #1
0
void EspMessageInfo::write_esp_methods_ng(enum espaxm_type axstype)
{
    if (axstype!=espaxm_setters)
    {
        int pos=0;
        ParamInfo *pi;
        for (pi=getParams();pi!=NULL;pi=pi->next)
        {
            pi->write_esp_attr_method_ng(name_, pos++, false, getMetaInt("nil_remove")!=0);
        }
    }
    
    if (axstype!=espaxm_getters)
    {
        int pos=0;
        ParamInfo *pi;
        for (pi=getParams();pi!=NULL;pi=pi->next)
        {
            pi->write_esp_attr_method_ng(name_, pos++, true, getMetaInt("nil_remove")!=0);
        }
    }
}