PTP
Release 7.0

org.eclipse.ptp.pldt.common.editorHelp
Class FunctionPrototypeSummaryImpl

java.lang.Object
  extended by org.eclipse.ptp.pldt.common.editorHelp.FunctionPrototypeSummaryImpl

public class FunctionPrototypeSummaryImpl
extends java.lang.Object

Encapsulation of a function's name, return type, and arguments


Constructor Summary
FunctionPrototypeSummaryImpl()
          Default Constructor
FunctionPrototypeSummaryImpl(java.lang.String name, java.lang.String returnType, java.lang.String arguments)
          Constructor with information provided
 
Method Summary
 java.lang.String getArguments()
           
 java.lang.String getName()
           
 java.lang.String getPrototypeString(boolean namefirst)
           
 java.lang.String getReturnType()
           
 void setArguments(java.lang.String arguments)
          Set the arguments
 void setName(java.lang.String name)
          Set the name
 void setReturnType(java.lang.String returnType)
          Set the return type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionPrototypeSummaryImpl

public FunctionPrototypeSummaryImpl()
Default Constructor


FunctionPrototypeSummaryImpl

public FunctionPrototypeSummaryImpl(java.lang.String name,
                                    java.lang.String returnType,
                                    java.lang.String arguments)
Constructor with information provided

Parameters:
name - the function name
returnType - return type of function
arguments - arguments to the function
Method Detail

getName

public java.lang.String getName()

getReturnType

public java.lang.String getReturnType()

getArguments

public java.lang.String getArguments()

getPrototypeString

public java.lang.String getPrototypeString(boolean namefirst)

setArguments

public void setArguments(java.lang.String arguments)
Set the arguments

Parameters:
arguments -

setName

public void setName(java.lang.String name)
Set the name

Parameters:
name -

setReturnType

public void setReturnType(java.lang.String returnType)
Set the return type

Parameters:
returnType -

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.