61 test_option_number = 123;
66 include
"test_include.odl";
70 string MibText =
"test";
75 object TestObjectRoot {
77 object TestObjectSingelton;
78 %read-only %persistent %
private object TestObjSingletonAttr;
79 object TestObjectTemplate[];
80 %read-only %persistent %
private object TestObjTemplateAttr[];
85 object TestObjectParamTypes {
96 object TestObjectFunctions {
108 void func12(
string arg1,
120 object TestSingeltonParamAttr {
121 %read-only %persistent %
private %
template %instance %
volatile string Param1;
123 object TestTemplateParamAttr[] {
124 %read-only %persistent %
private %
template %instance %
volatile string Param1;
125 %
template string Param2;
126 %instance
string Param3;
129 object TestSingletonFuncAttr {
130 %
private %
template %instance
void TestFunc1();
131 void TestFunc2(%mandatory %in %out %strict int32 number);
133 object TestTemplateFuncAttr {
134 %
private %
template %instance
void TestFunc1();
135 %
template void TestFunc2();
136 %instance
void TestFunc3();
137 void TestFunc4(%mandatory %in %out %strict int32 number);
140 object TestObjectTemplateWithChild[] {
141 counted with NumberOfChildren;
142 object TemplateChildObject {
148 %read-only
object TestChangeAttr {
149 %
private string Param1;
150 %
private void Func1();
157 object TestObjectRoot.TestObjectTemplateWithChild {
158 instance add(1,
"Name") {
159 object TemplateChildObject {
160 parameter Param1 =
"Some Text";
165 object TestObjectRoot.TestTemplateParamAttr {
166 parameter Param2 =
"This is param 2";
167 parameter Param1 =
"This is param 1";
168 instance add(99,
"") {
169 parameter Param1 =
"This is param 1 in instance";
170 parameter Param3 =
"Hello World";
172 instance add(0,
"") {
173 extend
using mib
"test_mib";
177 !read-only %persistent
object TestObjectRoot.TestChangeAttr {
178 !
private %read-only parameter Param1;
amxd_status_t TestFunc4(amxd_object_t *object, amxd_function_t *func, amxc_var_t *args, amxc_var_t *ret)