head file generation with agenpro2
Frank Fock
Frank.Fock____t-online.de
Mon Apr 21 23:38:26 CEST 2003
Hi,
May I ask what the status of your AgenPro 2 evaluation
is? Huawei's evaluation license has expired for some time
now.
Regarding your question:
You can modify the header template to include
"accessible-for-notify" OBJECT-TYPEs too. For example,
you could add the following:
#foreach ( $leaf in $module.getObjectsVector() )
#if ( $leaf.getAccess().equals("accessible-for-notify") )
#set( $len = $DEFAULT_OBJECT_NAME_LENGTH - $leaf.getName().length() - 3 )
#define #getOidName($leaf)#space($len) "$leaf.getPrintableOid().0"
#end
#end
Best regards,
Frank Fock
zhengqiang 27012 wrote:
> Hi all,
>
> I have a question on agenpr2 during header file generation.
>
> The scalars of OBJECT-TYPE which is used for NOTIFICATION-TYPE did not
> generate the constant defination in c++ header file.
>
> I had checked the template: h_code.vm,
> // Scalars
> #foreach ( $leaf in $scalars )
> #set( $len = $DEFAULT_OBJECT_NAME_LENGTH - $leaf.getName().length() - 3 )
> #define #getOidName($leaf)#space($len) "$leaf.getPrintableOid().0"
> #end
>
> My understanding, all the scalars shall have a constant defination in header file.
>
> Thank you very much for your kindly help.
>
>
>
>
>
>
>
More information about the AGENTPP
mailing list