Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTSimpleTypeTemplateParameter

All Superinterfaces:
IASTNameOwner, IASTNode, ICPPASTTemplateParameter

public interface ICPPASTSimpleTypeTemplateParameter
extends ICPPASTTemplateParameter, IASTNameOwner

This interface represents a simple type template parameter.


Field Summary
static ASTNodeProperty DEFAULT_TYPE
          DEFAULT_TYPE is the optional default typeId value
static ASTNodeProperty PARAMETER_NAME
          The parameter name.
static int st_class
          st_class represents a class.
static int st_typename
          st_typename represents a typename.
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTemplateParameter
EMPTY_TEMPLATEPARAMETER_ARRAY
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner
r_declaration, r_definition, r_reference, r_unclear
 
Method Summary
 IASTTypeId getDefaultType()
          Get the default type.
 IASTName getName()
          Get the name.
 int getParameterType()
          Get the parameter type.
 void setDefaultType(IASTTypeId typeId)
          Set the default type.
 void setName(IASTName name)
          Set the name.
 void setParameterType(int value)
          Set the parameter type.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner
getRoleForName
 

Field Detail

st_class

static final int st_class
st_class represents a class.

See Also:
Constant Field Values

st_typename

static final int st_typename
st_typename represents a typename.

See Also:
Constant Field Values

PARAMETER_NAME

static final ASTNodeProperty PARAMETER_NAME
The parameter name.


DEFAULT_TYPE

static final ASTNodeProperty DEFAULT_TYPE
DEFAULT_TYPE is the optional default typeId value

Method Detail

getParameterType

int getParameterType()
Get the parameter type.

Returns:
int

setParameterType

void setParameterType(int value)
Set the parameter type.

Parameters:
value - int

getName

IASTName getName()
Get the name.

Returns:
IASTName

setName

void setName(IASTName name)
Set the name.

Parameters:
name - IASTName

getDefaultType

IASTTypeId getDefaultType()
Get the default type.

Returns:
IASTTypeId

setDefaultType

void setDefaultType(IASTTypeId typeId)
Set the default type.

Parameters:
typeId - IASTTypeId

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.