def _genGet(self, fp, prototypes):
      for port_func in prototypes:
         body = C.block(innerIndent=innerIndentDefault)
         prefix = '&' if port_func.data_element.dataType.isComplexType else ''
         suffix = '[0]' if isinstance(port_func.data_element.dataType, autosar.datatype.ArrayDataType) else ''
         body.code.append(C.statement('return %s%s%s'%(prefix, port_func.data_element.symbol, suffix)))
         fp.write(str(port_func.proto)+'\n')
         fp.write('\n'.join(body.lines())+'\n\n')