Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2008-10-06 09:22:25 +0000
committerMarkus Schorn2008-10-06 09:22:25 +0000
commit5a9b69c9ee76c51b737bb967f8d89cd4e7ae7493 (patch)
tree0a7ea04590ee1b99b43685cd98c44ffd00e5fd9a /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java
parent6b82deb626f3d946ed4777e670185ba603d5ba4d (diff)
downloadorg.eclipse.cdt-5a9b69c9ee76c51b737bb967f8d89cd4e7ae7493.tar.gz
org.eclipse.cdt-5a9b69c9ee76c51b737bb967f8d89cd4e7ae7493.tar.xz
org.eclipse.cdt-5a9b69c9ee76c51b737bb967f8d89cd4e7ae7493.zip
Adds ICPPMethod.isPureVirtual(), bug 248865.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java
index 563ae6f1300..4d55684d500 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java
@@ -6,14 +6,16 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * IBM - Initial API and implementation
+ * IBM - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.core.dom.ast.cpp;
import org.eclipse.cdt.core.dom.ast.DOMException;
/**
- * @author Doug Schaefer
+ * Base interface for methods, also used for constructors.
+ *
+ * @noimplement This interface is not intended to be implemented by clients.
*/
public interface ICPPMethod extends ICPPFunction, ICPPMember {
public static final ICPPMethod [] EMPTY_CPPMETHOD_ARRAY = new ICPPMethod[0];
@@ -36,4 +38,10 @@ public interface ICPPMethod extends ICPPFunction, ICPPMember {
* @since 4.0
*/
public boolean isImplicit();
+
+ /**
+ * Returns whether this is a pure abstract method
+ * @since 5.1
+ */
+ public boolean isPureVirtual() throws DOMException;
}

Back to the top