Eclipse CDT
7.0

org.eclipse.cdt.core.dom.ast.cpp
Class SemanticQueries

java.lang.Object
  extended by org.eclipse.cdt.core.dom.ast.cpp.SemanticQueries

public class SemanticQueries
extends java.lang.Object

This class exposes semantic queries about C++ code to clients such as code analysis.

Since:
5.5

Constructor Summary
SemanticQueries()
           
 
Method Summary
static ICPPMethod[] getPureVirtualMethods(ICPPClassType classType, IASTNode point)
          Returns all pure virtual methods of a class.
static boolean isCopyConstructor(ICPPConstructor constructor)
           
static boolean isCopyOrMoveConstructor(ICPPConstructor constructor)
           
static boolean isMoveConstructor(ICPPConstructor constructor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemanticQueries

public SemanticQueries()
Method Detail

isCopyOrMoveConstructor

public static boolean isCopyOrMoveConstructor(ICPPConstructor constructor)

isMoveConstructor

public static boolean isMoveConstructor(ICPPConstructor constructor)

isCopyConstructor

public static boolean isCopyConstructor(ICPPConstructor constructor)

getPureVirtualMethods

public static ICPPMethod[] getPureVirtualMethods(ICPPClassType classType,
                                                 IASTNode point)
Returns all pure virtual methods of a class. Inherited pure virtual methods that have not been implemented are also returned. NOTE: The method produces complete results for template instantiations but doesn't take into account base classes and methods dependent on unspecified template parameters.

Parameters:
classType - the class whose pure virtual methods should be returned
point - the point of template instantiation, if applicable
Returns:
an array containing all pure virtual methods of the class
Since:
5.6

Eclipse CDT
7.0

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