About the range of index
罗先录
luoxianlu____huawei.com
Fri May 16 12:08:33 CEST 2003
Hi,Frank
When I set the range of index and other variables, agentGen will generate code like these:
boolean hwNmFaultQueryConditionDeviceType::value_ok(const Vbx& vb)
{
long v;
vb.get_value(v);
if (!(((v >= 0) && (v <= 255))))
return FALSE;
file://--AgentGen BEGIN=hwNmFaultQueryConditionDeviceType::value_ok
file://--AgentGen END
return TRUE;
}
But it can not work before commit_set_request;I can set value above 255 freely.
Would you PLS give me some explanation?
warm regards,
~Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20030516/2f8fc6a2/attachment.htm
More information about the AGENTPP
mailing list