Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.model
Interface ITemplate

All Known Subinterfaces:
IFunctionTemplate, IFunctionTemplateDeclaration, IMethodTemplate, IMethodTemplateDeclaration, IStructureTemplate, IStructureTemplateDeclaration

public interface ITemplate


Method Summary
 int getNumberOfTemplateParameters()
          Returns the number of template parameters
 String[] getTemplateParameterTypes()
          Returns the template parameter types.
 String getTemplateSignature()
          Returns the template signature The signature depends on the type of template.
 

Method Detail

getTemplateParameterTypes

String[] getTemplateParameterTypes()
Returns the template parameter types.

Returns:
String

getTemplateSignature

String getTemplateSignature()
                            throws CModelException
Returns the template signature The signature depends on the type of template. If it is a template of a structure or a variable, it will include the structure name and the list of parameters. If it is a template of a method or a function, it might include the class name with its template parameters (if any), as well as the function/method name, its template parameters, followed by its normal parameters.

Returns:
String
Throws:
CModelException

getNumberOfTemplateParameters

int getNumberOfTemplateParameters()
Returns the number of template parameters

Returns:
int

Eclipse CDT
Pre-release 3.0

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