Interface ICPPClassTemplatePartialSpecialization
- All Superinterfaces:
Cloneable, org.eclipse.core.runtime.IAdaptable, IBinding, ICompositeType, ICPPBinding, ICPPClassTemplate, ICPPClassType, ICPPPartiallySpecializable, ICPPPartialSpecialization, ICPPTemplateDefinition, IType
- All Known Subinterfaces:
ICPPClassTemplatePartialSpecializationSpecialization
public interface ICPPClassTemplatePartialSpecialization
extends ICPPClassTemplate, ICPPPartialSpecialization
This interface represents a class template partial specialization. A partial specialization is
a class template in its own right.
E.g.:
template <class T> class A {}; // the primary class template
template <class T> class A<T*> {}; // a partial specialization of the primary class template
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ICPPClassTemplatePartialSpecialization[]static final ICPPClassTemplatePartialSpecialization[]Deprecated.Fields inherited from interface IBinding
EMPTY_BINDING_ARRAYFields inherited from interface ICompositeType
k_struct, k_unionFields inherited from interface ICPPClassType
EMPTY_CLASS_ARRAY, k_class, v_private, v_protected, v_publicFields inherited from interface IType
EMPTY_TYPE_ARRAY, TYPE_MATCHER -
Method Summary
Modifier and TypeMethodDescriptionReturns the ICPPTemplateDefinition which this is a specialization of.Returns the arguments of this partial specialization.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface IBinding
getLinkage, getName, getNameCharArray, getOwner, getScopeMethods inherited from interface ICompositeType
getCompositeScope, getKey, isAnonymousMethods inherited from interface ICPPBinding
getQualifiedName, getQualifiedNameCharArray, isGloballyQualifiedMethods inherited from interface ICPPClassTemplate
asDeferredInstance, getPartialSpecializationsMethods inherited from interface ICPPClassType
findField, getAllDeclaredMethods, getBases, getConstructors, getDeclaredFields, getDeclaredMethods, getFields, getFriends, getMethods, getNestedClasses, getUsingDeclarations, getVisibility, isFinal, isNoDiscardMethods inherited from interface ICPPPartialSpecialization
getPrimaryTemplateMethods inherited from interface ICPPTemplateDefinition
getTemplateParametersMethods inherited from interface IType
clone, isSameType
-
Field Details
-
EMPTY_ARRAY
- Since:
- 6.0
-
EMPTY_PARTIAL_SPECIALIZATION_ARRAY
@Deprecated static final ICPPClassTemplatePartialSpecialization[] EMPTY_PARTIAL_SPECIALIZATION_ARRAYDeprecated.UseEMPTY_ARRAY- Restriction:
- This field is not intended to be referenced by clients.
-
-
Method Details
-
getPrimaryClassTemplate
ICPPClassTemplate getPrimaryClassTemplate()Returns the ICPPTemplateDefinition which this is a specialization of. -
getTemplateArguments
ICPPTemplateArgument[] getTemplateArguments()Returns the arguments of this partial specialization.- Specified by:
getTemplateArgumentsin interfaceICPPPartialSpecialization- Since:
- 5.1
-
EMPTY_ARRAY