Variables
doil.interface.template Namespace Reference

Variables

string a
 
string enum_decl
 
string exception_decl
 
string ifacefwd_decl
 
string interface_h
 
string ns_decl
 
string struct_decl
 
string structfwd_decl
 
string typedef_decl
 
string types_h
 
string union_decl
 
string unionfwd_decl
 

Variable Documentation

string doil.interface.template.a
Initial value:
1 = """
2 [for td in typedefs]
3 [if td.corba.tk is "tk_sequence"][if td.corba.sq_tk is "tk_struct"]
4 [if td.local.deref_sq_type is st.local.base_type]
5  typedef [td.local.deref_fq_type] [td.local.derived_type];
6 [endif][endif][endif]
7 [endfor]
8 
9  //------------------------------------------------------------
10  // rest of typedef
11  //------------------------------------------------------------
12 [for td in typedefs]
13 [if td.corba.tk is "tk_sequence"]
14 [if td.corba.sq_tk is "tk_struct"]
15 [elif td.corba.sq_tk is "tk_objref"]
16 [else]
17  typedef [td.local.deref_fq_type] [td.local.derived_type];
18 [endif]
19 [else]
20  typedef [td.local.deref_fq_type] [td.local.derived_type];
21 [endif]
22 [endfor]
23 
24 
25 [for ns in iface_ns]
26 }; // namespace [ns]
27 [endfor]
28 
29 #endif // [types_include_guard]
30 """

Definition at line 270 of file interface/template.py.

string doil.interface.template.enum_decl
Initial value:
1 = """\
2  // enum
3  enum [local.name]
4  {
5 [for mem in local.members]
6 [if-index mem is last]
7  [mem]
8 [else]
9  [mem],
10 [endif]
11 [endfor]
12 
13  };
14 
15 """

Definition at line 130 of file interface/template.py.

string doil.interface.template.exception_decl
Initial value:
1 = """\
2  // struct
3  struct [local.name]
4  {
5 [for mem in members]
6  [mem.local.member_type] [mem.local.member_name];
7 [endfor]
8  };
9 
10 """

Definition at line 146 of file interface/template.py.

string doil.interface.template.ifacefwd_decl
Initial value:
1 = """\
2  // forward declaration of interface
3  class [local.iface_name];
4 
5 """

Definition at line 64 of file interface/template.py.

string doil.interface.template.interface_h

Definition at line 165 of file interface/template.py.

string doil.interface.template.ns_decl
Initial value:
1 = """
2 [for-inv ens in end_ns]
3 }; // namespace [ens]
4 [endfor]
5 [for bns in begin_ns]
6 namespace [bns]
7 {
8 [endfor]
9 
10 """

Definition at line 53 of file interface/template.py.

string doil.interface.template.struct_decl
Initial value:
1 = """\
2  // struct
3  struct [local.name]
4  {
5 [for mem in members]
6  [mem.local.member_type] [mem.local.member_name];
7 [endfor]
8  };
9 
10 """

Definition at line 70 of file interface/template.py.

string doil.interface.template.structfwd_decl
Initial value:
1 = """\
2  // struct
3  struct [local.name];
4 
5 """

Definition at line 81 of file interface/template.py.

string doil.interface.template.typedef_decl
Initial value:
1 = """\
2  // typedef
3  typedef [local.base_type] [local.derived_type];
4 
5 """

Definition at line 157 of file interface/template.py.

string doil.interface.template.types_h

Definition at line 20 of file interface/template.py.

string doil.interface.template.union_decl

Definition at line 87 of file interface/template.py.

string doil.interface.template.unionfwd_decl
Initial value:
1 = """\
2  class [local.name];
3 
4 """

Definition at line 125 of file interface/template.py.



openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:08:00