Eclipse CDT
7.0

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


public interface ICPPTemplateParameterMap

Models the mapping of template parameters to values, or pack-expansions.

Since:
5.1

Method Summary
 Integer[] getAllParameterPositions()
          Returns the array of template parameter positions, for which a mapping exists.
 ICPPTemplateArgument getArgument(ICPPTemplateParameter param)
          Returns the value for the template parameter in the map, or null if the parameter is not mapped or the parameter is a parameter pack.
 ICPPTemplateArgument getArgument(int paramID)
          Returns the value for the template parameter with the given id.
 ICPPTemplateArgument[] getPackExpansion(ICPPTemplateParameter param)
          Returns the values for the template parameter pack in the map, or null if the parameter is not mapped or is no parameter pack.
 ICPPTemplateArgument[] getPackExpansion(int paramID)
          Returns the values for the template parameter pack with the given id in the map, or null if the parameter is not mapped or is not a parameter pack.
 

Method Detail

getArgument

ICPPTemplateArgument getArgument(int paramID)
Returns the value for the template parameter with the given id.

See Also:
ICPPTemplateParameter.getParameterID()

getArgument

ICPPTemplateArgument getArgument(ICPPTemplateParameter param)
Returns the value for the template parameter in the map, or null if the parameter is not mapped or the parameter is a parameter pack.


getPackExpansion

ICPPTemplateArgument[] getPackExpansion(int paramID)
Returns the values for the template parameter pack with the given id in the map, or null if the parameter is not mapped or is not a parameter pack.

Since:
5.2

getPackExpansion

ICPPTemplateArgument[] getPackExpansion(ICPPTemplateParameter param)
Returns the values for the template parameter pack in the map, or null if the parameter is not mapped or is no parameter pack.

Since:
5.2

getAllParameterPositions

Integer[] getAllParameterPositions()
Returns the array of template parameter positions, for which a mapping exists.


Eclipse CDT
7.0

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