libamxo  4.3.4
Object Definition Language (ODL) parsing
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
valid_synchronize.odl
Go to the documentation of this file.
2  prefix_ = "X_TEST-COM_";
3 }
4 
5 %define {
6  object A {
7  object A_template[] {
8  uint32 uint_A = 1;
9  string string_A = "I am A";
10  string '${prefix_}string_A' = "I am A";
11  %read-only string ReadOnlyText = "1234";
12  }
13 
14  uint32 param_A = 2;
15  }
16 
17  object B {
18  object B_template[] {
19  uint32 uint_B = 3;
20  string string_B = "I am B";
21  string '${prefix_}string_B' = "I am B";
22  %read-only string ReadOnlyText = "5678";
23  }
24 
25  uint32 param_B = 4;
26  }
27 
28  object '${prefix_}C' {
29  string '${prefix_}string_C' = "Test 1";
30  object '${prefix_}C_template'[] {
31  string '${prefix_}string_C' = "Test 1";
32  }
33  }
34 
35  object '${prefix_}D' {
36  string '${prefix_}string_D' = "Test 2";
37  object '${prefix_}D_template'[] {
38  string '${prefix_}string_D' = "Test 2";
39  }
40  }
41 }
define
Definition: main.odl:1