parameters: (self, obj)
return_statement: return arg_str
docstring: Return a string of (type, name) args, comma separated
          for use in templates that generate prototypes.
docstring_summary: Return a string of (type, name) args, comma separated
          for use in templates that generate prototypes.
docstring_tokens: Return a string of ( type name ) args comma separated for use in templates that generate prototypes .
function: def _get_args_proto_string(self, obj):
          """
          Return a string of (type, name) args, comma separated
          for use in templates that generate prototypes.
          """
          args = obj.get_args()
          arg_str = ""
          for arg in args:
              t = arg.get_type()
              isEnum = False
              #
              # Grab enum type here...
              if isinstance(t, tuple):
                  if t[0][0].upper() == "ENUM":
                      t = t[0][1]
                      isEnum = True
                  else:
                      PRINT.info(
                          "ERROR: Ill formed enumeration type...(name: %s, type: %s"
                          % (arg.get_name(), arg.get_type())
                      )
                      sys.exit(-1)
              else:
                  t = arg.get_type()
  
              if t == "string":
                  t = arg.get_name() + "String"
              if t == "buffer":
                  t = arg.get_name() + "Buffer"
  
              #
              # Add modifier here - if any...
              if arg.get_modifier() == "pointer":
                  t = t + " *"
              elif arg.get_modifier() == "reference":
                  t = t + " &"
              elif TypesList.isPrimitiveType(t) or isEnum:
                  t = t + " "
              else:
                  t = "const " + t + " &"
  
              arg_str += "{}{}".format(t, arg.get_name())
              arg_str += ", "
          arg_str = arg_str.strip(", ")
          return arg_str
function_tokens: def _get_args_proto_string ( self , obj ) : args = obj . get_args ( ) arg_str = "" for arg in args : t = arg . get_type ( ) isEnum = False # # Grab enum type here... if isinstance ( t , tuple ) : if t [ 0 ] [ 0 ] . upper ( ) == "ENUM" : t = t [ 0 ] [ 1 ] isEnum = True else : PRINT . info ( "ERROR: Ill formed enumeration type...(name: %s, type: %s" % ( arg . get_name ( ) , arg . get_type ( ) ) ) sys . exit ( - 1 ) else : t = arg . get_type ( ) if t == "string" : t = arg . get_name ( ) + "String" if t == "buffer" : t = arg . get_name ( ) + "Buffer" # # Add modifier here - if any... if arg . get_modifier ( ) == "pointer" : t = t + " *" elif arg . get_modifier ( ) == "reference" : t = t + " &" elif TypesList . isPrimitiveType ( t ) or isEnum : t = t + " " else : t = "const " + t + " &" arg_str += "{}{}" . format ( t , arg . get_name ( ) ) arg_str += ", " arg_str = arg_str . strip ( ", " ) return arg_str