org.apache.tuscany.sca.cpp.tools.common
Class Parameter

java.lang.Object
  extended byorg.apache.tuscany.sca.cpp.tools.common.Parameter

public class Parameter
extends java.lang.Object

A parameter from a method signature. The parameter is the datatype plus its name but not its value.


Method Summary
 boolean equals(java.lang.Object o)
          For two parameters to match their types must match or both be null, but the parameters names don't have to match.
 boolean failed()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 java.lang.String getTypeWithoutConst()
           
 boolean isDotDotDot()
           
 boolean isVoid()
           
 java.util.Iterator iterator()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

failed

public boolean failed()

getType

public java.lang.String getType()

getTypeWithoutConst

public java.lang.String getTypeWithoutConst()

getName

public java.lang.String getName()

isVoid

public boolean isVoid()

isDotDotDot

public boolean isDotDotDot()

equals

public boolean equals(java.lang.Object o)
For two parameters to match their types must match or both be null, but the parameters names don't have to match. Just because a parameter is called something different in a header file as in the the source file doesn't mean it's a different parameter.


toString

public java.lang.String toString()

iterator

public java.util.Iterator iterator()


Copyright 2005 The Apache Software Foundation and Copyright IBM Corp. 2005 All Rights Reserved