1#pragma once 2 3<% 4 namespaces = interface.name.split('.') 5 classname = namespaces.pop() 6%> 7namespace sdbusplus 8{ 9% for s in namespaces: 10namespace ${s} 11{ 12% endfor 13namespace client 14{ 15namespace ${classname} 16{ 17 18static constexpr auto interface = "${interface.name}"; 19 20} // namespace ${classname} 21} // namespace client 22% for s in reversed(namespaces): 23} // namespace ${s} 24% endfor 25} // namespace sdbusplus 26