|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPTemplateInstance
This interface represents an instantiation of a class or function template. An instantiated template is a specialization of that template. An instance of a class template will also implement ICPPClassType and similarly a function template instance will also implement ICPPFunction (or even ICPPMethod or ICPPConstructor as appropriate)
Field Summary | |
---|---|
static ICPPTemplateInstance[] |
EMPTY_TEMPLATE_INSTANCE_ARRAY
|
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
EMPTY_BINDING_ARRAY |
Method Summary | |
---|---|
IType[] |
getArguments()
Deprecated. Replaced by getTemplateArguments() . |
ICPPTemplateArgument[] |
getTemplateArguments()
Returns the template arguments of this instance. |
ICPPTemplateDefinition |
getTemplateDefinition()
get the template that this was instantiated from |
boolean |
isExplicitSpecialization()
Explicit specializations are modeled as instances of a template. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPSpecialization |
---|
getArgumentMap, getSpecializedBinding, getTemplateParameterMap |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPBinding |
---|
getQualifiedName, getQualifiedNameCharArray, isGloballyQualified |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
getLinkage, getName, getNameCharArray, getOwner, getScope |
Field Detail |
---|
static final ICPPTemplateInstance[] EMPTY_TEMPLATE_INSTANCE_ARRAY
Method Detail |
---|
ICPPTemplateDefinition getTemplateDefinition()
ICPPTemplateArgument[] getTemplateArguments()
boolean isExplicitSpecialization()
true
if this binding is an explicit specialization.
@Deprecated IType[] getArguments()
getTemplateArguments()
.
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |