|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPTemplateArgument
Models the value of a template parameter or for the argument of a template-id. Such a value can either be a type-value, or an integral value.
Field Summary | |
---|---|
static ICPPTemplateArgument[] |
EMPTY_ARGUMENTS
|
Method Summary | |
---|---|
IValue |
getNonTypeValue()
If this is a non-type value (suitable for a template non-type parameters), the value is returned. |
IType |
getTypeOfNonTypeValue()
If this is a non-type value (suitable for a template non-type parameter), the type of the value is returned. |
IType |
getTypeValue()
If this is a type value (suitable for a template type and template template parameters), the type used as a value is returned. |
boolean |
isNonTypeValue()
Returns whether this is an integral value, suitable for a template non-type parameter. |
boolean |
isSameValue(ICPPTemplateArgument arg)
Checks whether two arguments denote the same value. |
boolean |
isTypeValue()
Returns whether this is a type value, suitable for either a template type or a template template parameter. |
Field Detail |
---|
static final ICPPTemplateArgument[] EMPTY_ARGUMENTS
Method Detail |
---|
boolean isNonTypeValue()
boolean isTypeValue()
IType getTypeValue()
null
is returned.
IValue getNonTypeValue()
null
is returned.
IType getTypeOfNonTypeValue()
null
is returned.
boolean isSameValue(ICPPTemplateArgument arg)
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |